Posted on: 09/28/14 07:06pm
By: casper
Hello!
First image in article in the introtext need to be set at one width to keep my frontpage at desired width. But once the article is opened, I would like the image width to expand to allow it to fill the page.
Anyone know a way to make the program alter the Img width tag so different size can be achived on front page and in the article? CSS, javascript, php?
Re: IMG width front page different from article page
Posted on: 10/02/14 05:25pm
By: Laugh
I am assuming here that the article has a smaller size container (like a div) on the front page than the full page.
Check out this page for some ideas:
http://community.sitepoint.com/t/auto-resize-image-to-fill-container-div/26045