ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to change the default code for image manipulation

June 30, 2008 6:23pm

Subscribe [2]
  • #1 / Jun 30, 2008 6:23pm

    mencargo

    16 posts

    With the code that EE generates for Image links, like this “Pop up Thumbnail”:

    "window.open('site.com/fullimage.jpg','popup','width=x,height=y,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"

    Makes the browsers open a new window with almost the exact space for the image, but they all leave an empty margin.

    IE shows the image at 100% but if you resize the window even a little bigger than the original, it will scale the image to leave the margin all around.

    Firefox opens the image at 99% scale always and also leaves an empty margin space.

    I’m not shure what’s the problem, but I think that the body style needs to be set to

    margin:0;

    so that the space is filled with the image.

    I don’t want to edit each code so I would like to know where is it generated so I can modify it or if there’s a trick for this.

    Thanks.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases