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?
How do I add a gallery in place of the Store Message to fit the exact width of the storeMessage_bg.png?
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'));
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
you dont provide a link.
can you please provide a link where i can see the issue.
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.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.