800pixel limit for screenshots in forum posts?

Forum organization and occasional community-building.
Forum rules
Questions about Ren'Py should go in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

800pixel limit for screenshots in forum posts?

#1 Post by jack_norton » Wed Jun 26, 2013 1:31 pm

Was wondering if was possible to allow image attachment larger than 800px? seems a very low limit to me. I mean I can understand if I upload the image to reduce costs, but even if I link images from twitter/tumblr and so on, seems a bit too much :oops:
Thanks
follow me on Image Image Image
computer games

User avatar
papillon
Arbiter of the Internets
Posts: 4104
Joined: Tue Aug 26, 2003 4:37 am
Completed: lots; see website!
Projects: something mysterious involving yuri, usually
Organization: Hanako Games
Tumblr: hanakogames
Contact:

Re: 800pixel limit for screenshots in forum posts?

#2 Post by papillon » Wed Jun 26, 2013 1:53 pm

It screws up the display of posts for people whose browsers aren't set super-wide. Post a thumbnail and a followable link tot he fullsize!

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: 800pixel limit for screenshots in forum posts?

#3 Post by jack_norton » Wed Jun 26, 2013 2:04 pm

Awwwww but ME LAZY!! well, I'll have to use imgur then :)
follow me on Image Image Image
computer games

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: 800pixel limit for screenshots in forum posts?

#4 Post by pwisaguacate » Wed Jun 26, 2013 6:17 pm

Huh? I was pretty sure larger images have been attached before...

EDIT: Oh, I'm guessing you meant directly sticking an image onto the post via [ img ] tags.
49928b2fb3c4514e18b80dffbd8a3ef3.jpg
☢ WARNING ☢
(I'm definitely not going to try that with above image.)

EDIT2: Yep, what Donmai said; [ img ] tagged images are limited.
Last edited by pwisaguacate on Wed Jun 26, 2013 6:36 pm, edited 2 times in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1919
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: 800pixel limit for screenshots in forum posts?

#5 Post by Donmai » Wed Jun 26, 2013 6:26 pm

Actually you can attach larger images, but if you want to use IMG tags, then you will face the 800 pixels limit.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
lemonscent
Regular
Posts: 185
Joined: Mon Jun 17, 2013 5:24 pm
Projects: Remembrance:)
Contact:

Re: 800pixel limit for screenshots in forum posts?

#6 Post by lemonscent » Wed Jun 26, 2013 9:27 pm

pwisaguacate wrote:Huh? I was pretty sure larger images have been attached before...

EDIT: Oh, I'm guessing you meant directly sticking an image onto the post via [ img ] tags.
49928b2fb3c4514e18b80dffbd8a3ef3.jpg
(I'm definitely not going to try that with above image.)

EDIT2: Yep, what Donmai said; [ img ] tagged images are limited.
o__o;; That picture/collagething is amazing lol. Did you make that?
★Remembrance - a WIP
소중했던 내 사람아 이젠 안녕❣ (안녕 안녕 이젠 안녕)

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: 800pixel limit for screenshots in forum posts?

#7 Post by pwisaguacate » Thu Jun 27, 2013 6:51 am

lemonscent wrote:o__o;; That picture/collagething is amazing lol. Did you make that?
Yes I wish! I took it from Danbooru. It's three years old; hopefully somebody will take much larger sample and rerun the algorithm (whatever you call it) to reduce the number of duplicate tiles someday.

User avatar
Tempus
Miko-Class Veteran
Posts: 519
Joined: Sat Feb 16, 2013 3:37 am
Completed: Ladykiller in a Bind
Projects: StoryDevs
Tumblr: jakebowkett
Deviantart: jakebowkett
Github: jakebowkett
Location: Australia
Contact:

Re: 800pixel limit for screenshots in forum posts?

#8 Post by Tempus » Thu Jun 27, 2013 4:28 pm

papillon wrote:It screws up the display of posts for people whose browsers aren't set super-wide. Post a thumbnail and a followable link tot he fullsize!
Not necessarily. It's a very simple matter to set images to auto-resize according to post width. I just did it on a forum I set up a week ago.

Code: Select all

.content img {
    max-width:100%;
}
That's what I added to the stylesheet for the forum. Then I set the maximum allowed width a bit higher, something like 1920px. That might be a bit high for a forum like this where there's threads with images every post, but I agree it's a real pain in the butt to have to create 800px wide versions of an image. It's not like the images are being uploaded to the site. If anything, having a low width setting encourages more attachments.
StoryDevs — easy-to-search profiles for VN devs (under construction!)

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: 800pixel limit for screenshots in forum posts?

#9 Post by PyTom » Thu Jun 27, 2013 7:42 pm

The images are being downloaded, though - what worries me is that allowing huge images inline would hurt people browsing the forum, especially when those people are on mobile connections.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: 800pixel limit for screenshots in forum posts?

#10 Post by pwisaguacate » Thu Jun 27, 2013 7:53 pm

Well, I guess we could set max-width to 800 (and maybe max-height to 1600*); then restrict actual dimension area to 2,073,600 pixels (1920x1080px/1080x1920px) similar to what Tempus said.

*I noticed that height currently isn't restricted, though it's not a problem here.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: 800pixel limit for screenshots in forum posts?

#11 Post by jack_norton » Fri Jun 28, 2013 2:21 am

Well I wasn't suggesting to allow 2048px wide image either, but at least 1024px wide I think should be safe :D
follow me on Image Image Image
computer games

User avatar
Tempus
Miko-Class Veteran
Posts: 519
Joined: Sat Feb 16, 2013 3:37 am
Completed: Ladykiller in a Bind
Projects: StoryDevs
Tumblr: jakebowkett
Deviantart: jakebowkett
Github: jakebowkett
Location: Australia
Contact:

Re: 800pixel limit for screenshots in forum posts?

#12 Post by Tempus » Fri Jun 28, 2013 5:36 am

PyTom wrote:The images are being downloaded, though - what worries me is that allowing huge images inline would hurt people browsing the forum, especially when those people are on mobile connections.
I hear you, I did think of that; I have no real solution for mobile devices regarding the download problem. I'd wager that not too many people visit the image heavy threads on a mobile device if that's a problem though. It's also possible to inefficiently save a 800 x 600 image so that it's larger than a 1920 x 1080 one. (Not that I'm advocating a 1920px allowance!) But maybe an image file size restriction would be more appropriate than a image width one.

Edit: it'd actually make the most sense to restrict image file type -- I took the first (inline, not attached) PNG I found in the Art Dumpage! thread and doubled its dimensions then re-saved it as a high quality JPEG and it was still a smaller file than the original PNG; keeping its original dimensions and saving as a JPEG reduced the file size by around 66%. As a general rule of thumb, PNG is almost always the worst choice of file type for art when posting on forums (out of JPEG and PNG, that is).
pwisaguacate wrote:Well, I guess we could set max-width to 800 (and maybe max-height to 1600*); then restrict actual dimension area to 2,073,600 pixels (1920x1080px/1080x1920px) similar to what Tempus said.
That wouldn't work. The CSS I posted styles the image, it doesn't alter it. Even though the image would appear to be 800px wide, it's just the browser resizing the full image which is still loaded. The only way to upload a large image and have it loaded as 800px wide would be for the offsite image to be saved on the lemmasoft server, resized and saved again to be presented in the user's post. Which would no longer make it an offsite image, of course.
pwisaguacate wrote:*I noticed that height currently isn't restricted, though it's not a problem here.
Maybe it's a solution. We could all rotate our wide images 90 degrees and then turn our screens sideways ^.^
StoryDevs — easy-to-search profiles for VN devs (under construction!)

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: 800pixel limit for screenshots in forum posts?

#13 Post by jack_norton » Fri Jun 28, 2013 8:20 am

Yes an alternative would be to limit by size in kb, rather than dimensions (if that css trick automatically rescale them).
follow me on Image Image Image
computer games

Post Reply

Who is online

Users browsing this forum: No registered users