I have my absolute path setup in the options of Phoca download, which works great for files, but I think it's messing up custom icons - when I uploaded an icon, the img src that it tries to display is /home/myusername/public_html/images/phocadownload/icon.jpg
However, the upload works fine and if I modify the path after I click the image (it displays the image as broken, but you can still click the link to insert it as an icon) it will work fine. Does this make sense?
[BUG] Icon Path Incorrect
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [BUG] Icon Path Incorrect
Hi, yes, the images cannot be displayed from the destination behind public_html ... there only files can be downloaded - but html cannot work with them and it is not allowed of course.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
mdriess
- Phoca Member

- Posts: 10
- Joined: 09 Sep 2011, 10:09
Re: [BUG] Icon Path Incorrect
Right - what I'm saying is that when absolute path is set to a custom value, it messes up how icons are loaded by the script.
They are uploaded to the right directory (public_html/images/phocadownload), but the script tries to add /home/myusername/public_html in front of the source of the image when you select it as the custom icon for a download item.
Does this make sense?
Thanks
They are uploaded to the right directory (public_html/images/phocadownload), but the script tries to add /home/myusername/public_html in front of the source of the image when you select it as the custom icon for a download item.
Does this make sense?
Thanks
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [BUG] Icon Path Incorrect
Hi, confirmed, the path to images is wrong in case the custom folder will be selected
Thank you for the info, will be solved in next version.
Jan
Thank you for the info, will be solved in next version.
Jan
If you find Phoca extensions useful, please support the project
-
mdriess
- Phoca Member

- Posts: 10
- Joined: 09 Sep 2011, 10:09
Re: [BUG] Icon Path Incorrect
Sure thing, thanks for the great script!
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [BUG] Icon Path Incorrect
Should be fixed in 2.1.2
Jan
Jan
If you find Phoca extensions useful, please support the project