Author Topic: Immediate Image  (Read 13594 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Immediate Image
« Reply #15 on: December 31, 2008, 03:37:03 PM »
I didn't notice max-width in your code, that is actually what makes it work in other browsers. expression() needed only for IE, since it doesn't support max-width

My bad, sorry for the confusion.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline whimper

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Immediate Image
« Reply #16 on: January 06, 2009, 04:42:09 AM »
Hi,

but with this solution you become a problem with smaller images than e.g.: "640 px"  :?

Use this code:
Code: [Select]
<img src="{media_src}" border="0" alt="{image_name}" style="max-width: 640px; width: expression(this.width > 640 ? 640: true);">

Kurt

thats what i have been searching for 2 weeks !
u r perfect!!
this is a golden topic man :D

thnK u very mucH..

i m preparing a document for all details for 4images in turkish language ;)
thnx a lot


www.WallpaperDownload.Org (on sale - satılıktır 60TL = 40$)

Offline MikeK

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Immediate Image
« Reply #17 on: January 06, 2009, 12:24:23 PM »
Hi,

but with this solution you become a problem with smaller images than e.g.: "640 px"  :?

Use this code:
Code: [Select]
<img src="{media_src}" border="0" alt="{image_name}" style="max-width: 640px; width: expression(this.width > 640 ? 640: true);">

Kurt

Thank you  8O --- this is not the common case, but for two or three pictures is this the solution - Thx