Welcome to Geeklog Saturday, February 22 2020 @ 09:03 am EST

Geeklog Forums

IMG width front page different from article page

Status: offline


Forum User
Full Member
Registered: 11/02/04
Posts: 142
Location:Skien, Norway

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?

Status: offline


Site Admin
Registered: 27/09/05
Posts: 1386
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:


One of the Geeklog Core Developers.

All times are EST. The time is now 09:03 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content