Is there a way of declaring in the content block that images used will be resized to not break the resulting web page?
Something like {content block='bla2' imageforce='h320w210'}
So that if an image is uploaded into that content block the image would be resized to 320x210
Or if {content block='bla2' imageforce='h320'} the resize to height 320 fixed proportions.
Also while on the subject of {content} blocks what other variable / settings can be set I an aware only of .. oneline='true'}
Thanks
Dan Winters
Image resizing
-
Pierre M.
Re: Image resizing
Hello Dan,
I don't care about this because I have kept my old 20th century habit about this subject : I pre-design/compute images before uploading them. Hence they are usable on my website whose layout is unbreakable.
Feel free to point out what is unclear in them so they can be improved.
Pierre M.
There are people complaining about hosting limits : CPU usage, time or memory limit...dwinters wrote: Is there a way of declaring in the content block that images used will be resized to not break the resulting web page?
Something like {content block='bla2' imageforce='h320w210'}
I don't care about this because I have kept my old 20th century habit about this subject : I pre-design/compute images before uploading them. Hence they are usable on my website whose layout is unbreakable.
What about reading the help or the manual about this ?dwinters wrote: Also while on the subject of {content} blocks what other variable / settings can be set I an aware only of .. oneline='true'}
Feel free to point out what is unclear in them so they can be improved.
Pierre M.
Re: Image resizing
Sure I was just trying to stop users breaking the design after the site is given for them to edit and break!
I read on the rules I should only post if I cannot find it in the help manual - this may sound daft but where is the searchable help manual you refer to?
Thanks sorry to be dim
Dan
I read on the rules I should only post if I cannot find it in the help manual - this may sound daft but where is the searchable help manual you refer to?
Thanks sorry to be dim
Dan
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Image resizing
why not do this in css.... not sure if it's possible, but couldn't you do \
img {width: 300px; height: 200px; }
though I think this would probably stretch any images that were smaller than those dimensions....
worth a try though.
img {width: 300px; height: 200px; }
though I think this would probably stretch any images that were smaller than those dimensions....
worth a try though.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Image resizing
I would only use width or height (if the ratio of the original picture is not the same).Code: Select all
img {width: 300px; height: 200px; }
Re: Image resizing
Yes I could use css - the only slight problem is that the image could be huge and I wanted to resize and keep the right size, so viewers dont get a bloated page, guess I am trying to control users, I should know better!
Where is the help manual and is it searchable? i can only seem to get answers out of this forum... which is great but I dont want to waste your valuable time with silly question I should be able to find answers to.
Thanks again
Dan
Where is the help manual and is it searchable? i can only seem to get answers out of this forum... which is great but I dont want to waste your valuable time with silly question I should be able to find answers to.
Thanks again
Dan
-
Pierre M.
Re: Image resizing
See "Documentation" in the above menu.dwinters wrote: Where is the help manual and is it searchable? i can only seem to get answers out of this forum... which is great but I dont want to waste your valuable time with silly question I should be able to find answers to.
Pierre M.

