If I upload a file top-banner-1.jpg for a banner (under System -> Design -> Banners), OC creates top-banner-1-980x280.jpg, so it's 980px wide. I've searched the database and the whole code for 980 and I've found it in the CSS. Does OC get this number from CSS?! This sounds weird.
So where does it get it and how can I change it?
Images go through a re-size procedure and are placed in Cache. The only reference you will find to the specified width and height is in the 'setting' table which will be in the form of a serialized string:
Example:
Slideshow String:
Example:
Slideshow String:
Code: Select all
a:1:{i:0;a:7:{s:9:"banner_id";s:2:"10";s:5:"width";s:4:"980";s:6:"height";s:3:"280";s:9:"layout_id";s:1:"1";s:8:"position";s:11:"content_top";s:6:"status";s:1:"1";s:10:"sort_order";s:1:"1";}}
Who is online
Users browsing this forum: No registered users and 72 guests