close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Images show but the design is wrong when I create a gallery

Thread began 11/24/2010 12:56 pm by jon392819 | Last modified 7/17/2012 8:41 am by Jason Byrnes | 7701 views | 8 replies |


Images show but the design is wrong when I create a gallery

Hi Guys,

When I embed a gallery into a PHP page on my site it looks like the CSS and Javascript files are not been referenced right. The PG root folder is missing in the src to the css and javascript. In its place is the name of the parent folder holding the file containing the embeded code.

Sign in to reply to this post

Dani Chankhour

That is correct, the latest dot release of PowerGallery does not store the site root in the database to make it more dynamic.

Can you send me a link where i can see the issue you are referring to?

Sign in to reply to this post


Thanks Dani,

Photocms is the install folder.

Link below:


Embed code: <?php
$pg_id = '1';
$pg_theme = 'light';



Sign in to reply to this post


Dani, Hi,

This is a recurring problem with this issue of PowerGallery. At the moment there are a couple of open tickets awaiting resolution, with more queries coming in daily.

This issue needs taking back to the bench with a view to a definitive dot release issue.

Sign in to reply to this post

Dani Chankhour

Thanks. I can see the issue. This looks like a bug in PowerGallery since the page that includes the gallery is out side of the PowerGallery install folder. I have logged a bug in our bug base to fix the issue in future dot releases.

meanwhile i have attached a global.php which fix your issue, please download and replace your global.php under the galleries folder with the attached file.

Attached Files
Sign in to reply to this post


Thank you Dani. Works fine now.


Sign in to reply to this post


Same issue

138205 ticket number

tattoo-artist-greg.php click tattoos

I repeated a few steps along (see ticket#) with replacing the library file and Im stuck. I also made the change to line 35 of global as instructed by jason. Any help would be great.

Sign in to reply to this post


Still haveing issues Internal error Power Gallery

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/ Server at Port 80


any advice Also we have another gallery that showed the wrong link to copy and this one has all sorts of errors we are fully reloading that one agin again agin but still errors at one point god a kind of gallery up without fomating such as the display galery want there just the imahes with line errors such as line 370 line 227 or the line so we will will address that one shortly but need advce on this error above first

Sign in to reply to this post

Jason ByrnesWebAssist

you reported the issue in another thread as well, see my replay there:

Sign in to reply to this post


This post has been deleted.


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





Ease of use


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