close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Changing the width of galleries

Thread began 8/15/2011 6:30 am by fw413612 | Last modified 8/27/2011 9:26 am by fw413612 | 1012 views | 6 replies |

fw413612

Changing the width of galleries

Is it possible to change the width - to make the gallery narrower - on any of the galleries other than ribbon + lightbox and grid+ lightbox as I already have the instructions for those two?

Sign in to reply to this post

Jason ByrnesWebAssist

for the other galleries, the width is determined by the size of the large image.

see the following thread for details:
showpost.php?p=36751&postcount=2

Power Gallery 2 is currently scheduled for release by the end of this month, In Power Gellery 2, this will be much easier to accopmplish.

Sign in to reply to this post

fw413612

Thank you

Thanks for your reply, THAT WORKS, CAN i MAKE THE BOX THAT THE GALLERY SITS IN NARROWER OR MOVE IT TO THE LEFT AT ALL, HERE IS THE LINK TO THE PAGE THE GALLERY IS ON FOR YOU TO SEE THE PROBLEM I HAVE art-gallery.php with regards to the release of power gallery 2, is this a free upgrade for anyone who has purchased power gallery 1?

Sign in to reply to this post

Jason ByrnesWebAssist

in the common.css file, you will need to change the width attribute for the following selectors:
.pg-rfl
.pg-rfl .nav
.pg-rfl .fullsize

Power Gallery 2 will be offered at a discount to owners of Power Gallery 1 when it is released.

Sign in to reply to this post

fw413612

Thank you, that seems to work nicely. The only thing now is that when you click on the enlarge cross that comes up in the middle of the picture it doesn't seem to load another picture, any ideas why?

Sign in to reply to this post

Jason ByrnesWebAssist

when i view source of the page, the a href attribute is blank.


in the index.php page for the lightbox and full size gallery type, there are 3 url variables that get passed:

$gallery = get_gallery(get_mediarss_url('gallery=' . $pg_id . '&thumb=62c&full=782p&super=1024p'));


it looks like you removed the last one when when editing it to include your custom size

Sign in to reply to this post

fw413612

Thank you

Thank you so much, you are so clever! I will probably upgrade to PowerGallery 2 for the next gallery I do, just to make my life easier, but it is interesting to learn how the coding works, cheers!

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...