close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Gallery instead of Store Message

Thread began 10/18/2010 6:45 am by Jason Kline | Last modified 10/18/2010 3:13 pm by Jason Byrnes | 2168 views | 7 replies |

Jason Kline

Gallery instead of Store Message

How do I add a gallery in place of the Store Message to fit the exact width of the storeMessage_bg.png?

Sign in to reply to this post

Jason ByrnesWebAssist

in the galleries folder, open the subfolder for the gallery you are using then open the index.php file.

locate the line that initializes the gallery:
//process gallery
$gallery = get_gallery(get_mediarss_url('gallery=' . $pg_id . '&thumb=62c&full=995c'));



and the full argument to use an image width that will fit your design:
$gallery = get_gallery(get_mediarss_url('gallery=' . $pg_id . '&thumb=62c&full=782p'));

Sign in to reply to this post

Jason Kline

Hi Jason,

Thank you for the code but when I change the code it further miconfigured the home page.

Can you take a look at my page and see the issue I am having?

I'm just trying to get my existing gallery from PS3 to fit exactly where it did before without manually changing the home page code like before.

Jason

Sign in to reply to this post

Jason ByrnesWebAssist

you dont provide a link.


can you please provide a link where i can see the issue.

Sign in to reply to this post

Jason Kline

oops index.php

Sign in to reply to this post

Jason ByrnesWebAssist

that's still using the 996 croped image size.


basicly, you need to change the initialization code to use a calery size that will fit in the store message div.


the available gallery sizes are:
Proportional
1024 x 768
782 x 481
163 x 92

cropped:
62 x 62
132 x 140
102 x 102
42 x 42
782 x 481
995 x 260



so if i want to use the 782 proportional gallery, I need to change the index page for the gallery to use this code to initialize the gallery:
$gallery = get_gallery(get_mediarss_url('gallery=' . $pg_id . '&thumb=62c&full=782p'));

this is telling the galery to use the 782p full size image, and 62c thumbnail.

you can experiment with using the other sizes to find one that works for you.

Sign in to reply to this post

Jason Kline

Thanks Jason.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...