Page 1 of 1
Images question
Posted: Sat Dec 01, 2007 4:07 pm
by holysjit
Hi,
First question:
Is it possible when I upload an image it will be resized to 200x150?
Second question:
How can I put some borders about a image? CSS?
Thanks
Posted: Sat Dec 01, 2007 7:02 pm
by carl_galloway
In the config screen you can adjust the size of thumbnail that s9y creates, however I believe this is only based on width, so you would need to make sure your original has a 4:3 aspect ratio to get 200x150.
As for adding borders, yup css is the way to go.
Posted: Mon Dec 03, 2007 10:24 am
by d_cee
Hi
if I remember correctly, a placed image has an inline style of border:0; which you might want to remove or change
HTH
Dave
Posted: Mon Dec 03, 2007 12:29 pm
by carl_galloway
Dave raises a good point that I had forgotten. Basically, if you insert an image without a comment than s9y adds a style="" into the HTML for the image, and you may need to remove this before you save your entry.
Posted: Mon Dec 03, 2007 3:46 pm
by Don Chambers
carl_galloway wrote:.....adds a style="" into the HTML for the image, and you may need to remove this before you save your entry.
or use border: 1px solid #color!important to override the inline style, especially if a lot of entries already exist and editing all of them might be a lot of work.