Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#2614 Page View URL

Posted in ‘Event Gallery Extended’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by sbluege on Thursday, 23 March 2017 05:33 UTC

aroundi
 Hi Sven,



My customer threw me a curve ball at launch time: his old site is accessed by a phone app that sends the user to the website when the user wants to purchase a particular image. So. I need to provide a url construct for the phone app that points to a specific image by file name (in my case file names are numbers).

So, I tried revealing the actual url for a specific image by turning off Search Engine Friendly URLs and navigating to an image. Doing this breaks the images loading in both Events List thumbnail page and the Event thumbnail page. The links are there though and clicking on one brings up a url like this:

http://www.1414cconsulting.com/h3test/index.php?&mode=full&folder=tiergarten-ii&file=18215.jpg&option=com_eventgallery&view=resizeimage

Which is the image but not in a lightbox so there is no cart icon to click to buy.

Is it possible to come up with a url that brings up a specific image by file name in the lightbox so that tser can click the shopping cart and buy it? Even better could be the cart comes up as well (I'm currently using the internal cart).


I set up a test menu item Pageable List but no images are displayed? I tried a sync without change.

http://www.1414cconsulting.com/h3test/page-test

Am I missing something obvious?

sbluege
Hi,

for some reasons this page lacks jQuery. Does your template blocks it?

aroundi
Hi Sven,

After your post I took a look at the console and saw the slew of ugly errors. I had jQuery Easy enabled only for my main Gallery menu item. Enabling JQE for my test menu item cleared the problem. It also works for a hidden menu item which is good since I want the site to use a lightbox presentation and the single page display used only for calls from the phone apps.

The phone apps can only reference the file name of the image, not the category. I believe I can assign an image to only one category. Does this mean I need to create a new category and upload an additional copy of each image so that I have a category containing all images? The site will have around 1000 high resolution images. I can make copies at a lower resolution but It's still a lot of disk space as well as maintaining double inventory. Is there a way I can avoid this that you can think of?

Rgds

sbluege
With category you mean an event/folder? If so you try to use a source which can handle one parameter with a target which needs two of them. You can solve this by putting all images in one folder since this removes the second variable.

But there are other options. Joomla can do redirects. So you can add 1000 redirects from /image_0001.jpg to /folder/image_abc.jpg manually or by doing some kind of import.

Another option is possible if you can derive the second parameter from the first one. Example: image is named like folder_image_0001.jpg. By using for example apache rewrite rules you can split them and redirect the the final url.

Last option: you create your own component which can lookup the file name in the event gallery tables and compose the redirect url.