Jump to content

Option for inserting full size of uploaded image?


Zephpp

Recommended Posts

  • 4 weeks later...

This (as used) will cut off the image, when it's wider than the post:

$tmp = "<div style='overflow:hidden'>" . $tmp . "</div>";

Instead, the images should better be set to:


max-width:100%


I changed the
overflow:hidden
to
max-width:100%
and I ended up with the full image going beyond the post.

To be clear, it looked like this:
$tmp = "<div style=‘max-width:100%'>" . $tmp . "</div>";
I want the full image to be scaled to fit into the post. As I said, it already works in Safari and Chrome, but not Firefox.

Thanks everyone for your help in all this.
Link to comment
Share on other sites

  • 4 weeks later...
  • 6 months later...

That links dead. I'm moving 2 image intensive sites to IPB (hopefully) & we need the user option of either full-size or thumbnail when posting & would also like the admin option of disignating that option on a forum by forum basis ie some forums it's thumbnails, some it's both.

Seems IPB can do one or the other. Anyone found a easy way around this yet or a mod?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...