PDA

View Full Version : VB4 Album images resize to fit


DreadsUK
05-04-2014, 12:15 PM
Some images i've noticed are too big. Is there a way we can resize them when they upload. I dont want to restrict the upload size as its more effort for the user to do it.

here is the example

https://vborg.vbsupport.ru/external/2014/05/61.png

from www.dreadsuk.com

Lynne
05-04-2014, 03:27 PM
You can set a max-width in your CSS. I can't tell you the exact code since you have disabled right-clicking and so I can't view the CSS.

DreadsUK
05-04-2014, 05:27 PM
You can set a max-width in your CSS. I can't tell you the exact code since you have disabled right-clicking and so I can't view the CSS.

just enabled right click :) x

Lynne
05-05-2014, 02:59 AM
Try:
#picturelink img {max-width: 90%;}
change 90%to what you want.

DreadsUK
05-05-2014, 07:58 AM
Where abouts i add that?

billstelling
05-05-2014, 08:16 AM
Additional CSS..

DreadsUK
05-05-2014, 08:26 AM
Wicked. sorted! Thanks Lynne and Billstelling