The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
changing width of attachments if too big
I created a mobile style. Some attachments break the layout.
I am in need of a conditional, that checks the image width, and - if the attachment thumbnail is too big - sets the width of that thumbnail to a certain value. Is that possible? I think I've seen code like that in the blog addon, but I have a hard time finding it again. --------------- Added [DATE]1216366782[/DATE] at [TIME]1216366782[/TIME] --------------- Okay, I found something the code I meant: Quote:
And the code for the attachments is in a php file, no? Is there no other way as to modify the source code? Maybe a plugin could be created that checks the width of the attachment thumbnails? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|