Old 10-20-2009, 04:15 AM   #1 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 1
Default stop resizing

i purchased the WHITE TAB gallery from FlashDen, and overall am happy with the gallery. BUT how do i get the viewer to display the full original image, without having the gallery resize it?
my original image is 700x440, but the gallery scales it down to 700x420. i've looked through all the .as files, but just don't know what to change to get the full image size. please advise. thanks!
luk726 is offline   Reply With Quote
Old 10-21-2009, 11:26 AM   #2 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

The image is resized to fit in the gallery, otherwise it can get cut-off or other elements can overlap with the image. If you are sure that your images are all 700x440, open source\oxylus\TGallery\Viewer.as, find this code:

Code:
fw = Math.round(fw);
fh = Math.round(fh-20);
and replace it with:

Code:
fw = 700;
fh = 440;
Save the file and republish the swf.
Adrian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:23 PM.