On some of my images, but not all, the external 1 & external 2 icons appear, but none of them work (they all point to http://null/). How do I remove those links and/or make them work?
Also, how do I get the statistic icon to show?
Thanks.
Question on some image icons
-
JBMoney
- Phoca Member

- Posts: 25
- Joined: 14 Dec 2009, 22:51
Re: Question on some image icons
Any help would be appreciated. I have read the manual. Using 2.7.5.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Question on some image icons
Hi, check the image where this appears, if there is no value in the form field for exernal link.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
JBMoney
- Phoca Member

- Posts: 25
- Joined: 14 Dec 2009, 22:51
Re: Question on some image icons
It did have values, not sure how they got there but that is resolved. Thanks.
Still, the "Image Download" button open up a pop-up with a null value though. Take a look at any of the image download buttons here:
http://bressler.org/index.php?option=co ... tstart=168
How can I either make that link to the original image, or get rid of it. I'd really like a way to access the original image.
Still, the "Image Download" button open up a pop-up with a null value though. Take a look at any of the image download buttons here:
http://bressler.org/index.php?option=co ... tstart=168
How can I either make that link to the original image, or get rid of it. I'd really like a way to access the original image.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Question on some image icons
Hi, you can add an "external link" below image but this is no the right solution, as you need to do for every single image 
Did you try to use direct download (set in parameters). Really no idea what does "null" means, maybe enabling php errors or debug mode can produce some error message or warning message
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
Did you try to use direct download (set in parameters). Really no idea what does "null" means, maybe enabling php errors or debug mode can produce some error message or warning message
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
-
JBMoney
- Phoca Member

- Posts: 25
- Joined: 14 Dec 2009, 22:51
Re: Question on some image icons
I think I figured out why the direct download is not working, but I don't know how to fix it.
I converted to Phoca from another gallery. All the images that were moved have a "imgorigsize' = 0 in the jos_phocagallerytable. For some reason, this is preventing that function from working.
For any newer images, that were uploaded with Phoca, the direct download works.
Is there a built-in way for Phoca to populate the "imgorigsize" field, like a maintenance function?
OR
Is there a way to make that function work without having to access that field?
I converted to Phoca from another gallery. All the images that were moved have a "imgorigsize' = 0 in the jos_phocagallerytable. For some reason, this is preventing that function from working.
For any newer images, that were uploaded with Phoca, the direct download works.
Is there a built-in way for Phoca to populate the "imgorigsize" field, like a maintenance function?
OR
Is there a way to make that function work without having to access that field?
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Question on some image icons
Hi, in Phoca Gallery tables, there are saved info about e.g. external images too (which cannot be download form server), so maybe the solution is to change the item to 1 by some sql query.
Jan
Jan
If you find Phoca extensions useful, please support the project