Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

What to do if images are wider than the allowed max image width?

Aloittaja rv77, kesäkuu 08, 2011, 06:17:36 AP

« edellinen - seuraava »

rv77

Hi.

I've converted a phpbb theme to smf2, and i don't quite know how to get a variable "wrapper" width going.
So i was thinking of limiting [img] width to the max width of my wrapper.

But then i'd really like a mod that allows users to post wider images, which are then
a) capped in size by <img style="width:xxx;"> when displayed in a thread
b) allowed to be clicked on by the user, bringing up a lightbox to view the image in more detail.

if such a mod does not exist yet, and i just browsed all the mods and didnt find it,
how would i go about building such a thing?


Advertisement: