Change max-width on images in text-post??

4308 views
Skip to first unread message

Sindre Olsson

unread,
Mar 23, 2014, 10:06:12 AM3/23/14
to tumblr...@googlegroups.com
Hi!

Is it not possible to change max-width on images in text-post??
Is there annyway to change this?



Best
Sindre

Gerdus van Zyl

unread,
Mar 24, 2014, 5:58:50 AM3/24/14
to tumblr...@googlegroups.com
Text posts do not have images.
You can use the theme template to request certain max-sizes: 100,250,400,500,1280,2560
eg. {PhotoURL-500} with {PhotoWidth-500}

Docs: https://www.tumblr.com/docs/en/custom_themes#photo-posts


--
You received this message because you are subscribed to the Google Groups "Tumblr Themes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tumblr-theme...@googlegroups.com.
To post to this group, send email to tumblr...@googlegroups.com.
Visit this group at http://groups.google.com/group/tumblr-themes.
For more options, visit https://groups.google.com/d/optout.



--
Gerdus van Zyl
http://about.me/gerdus

Idoit Brilliantly

unread,
Mar 24, 2014, 7:39:20 AM3/24/14
to tumblr...@googlegroups.com
Well, one can actually add images to text posts, but as far as I know they will always be displayed in their original size. Unless it's bigger than the content holder; in that case they'll be automatically resized to the content holder's max width.

upaszi...@gmail.com

unread,
Apr 24, 2014, 2:53:00 AM4/24/14
to tumblr...@googlegroups.com
Same problem with reposting. See screenshot here: https://www.dropbox.com/s/ufhdla5fzjusf1o/Screenshot%202014-04-21%2012.54.28.png

Any suggestions for fixing it?

Thanx.

ana x

unread,
May 4, 2014, 9:09:33 AM5/4/14
to tumblr...@googlegroups.com
The only way to fix this is to put something like

.post img { max-width: 500px; }

and then when it comes to blockquote in the post or such use:

blockquote img { max-width: 100% }

and it will shrink. It works for me.
Reply all
Reply to author
Forward
0 new messages