SimonTech Development
  • Contact Us
  • Request Quote
  • Consulting
      • Back
      • CMS Strategy
      • Custom Development
      • Server Management
      • Integrated Automation
  • Development & Design
      • Back
      • Joomla CMS
      • WordPress CMS
      • Custom Application Development
      • Marketing Automation
  • Website Maintenance
      • Back
      • Managed Cloud Hosting
      • CMS Maintenance
      • Site Security Mitigation
      • Backup, Repair & Restore
  • Plans & Pricing
  • Support
Account
Please wait, authorizing ...
Not a member? Sign up now
×

Knowledge Base

Phoca Gallery

Phoca Gallery Seal

Changing the image path manually

Details
Parent Category: Knowledge base
Category: Phoca Gallery

 You ever run into the issue with the super awesome Phoca Gallery that you absolutely need a very specfic imgae path so it can play well with other extensions.

There is no setting or configuration options for this image path to be set in an XML or through the database in any way.

You have to navigate to your server, and find the path.php:

/administrator/components/com_phocagallery/libraries/phocagallery/path

 And Then you must change all these lines to meet the criteria for where you want all of your files stored and retrieved from.

 

$instance->image_abs 			= JPATH_ROOT . '/images/phocagallery/';

$instance->image_rel			= 'images/phocagallery/';

$instance->avatar_abs 			= JPATH_ROOT . '/images/phocagallery/avatars/';

$instance->avatar_rel			= 'images/phocagallery/avatars/';

 

Of course, the very unfortunate issue here is that next time you update Phoca Gallery you must go back into this file and change it again.

  • Services
  • Support Tickets
  • Knowledge Base
  • Extensions and Releases
  • Contact Us
Facebook LinkedIn Twitter Github
  • Terms & Conditions
  • Privacy Policy
© 2008 - 2025 SimonTech Development