I just added a picture to an article.
The picture path that was used by the selection dialog was ftproot/images/images/Evalanche_1.png.
The link that was inserted was http://kb.grutzeck.de/images/Evalanche_1.png
Any idea what setting is responsible for this?
Inserting Image uses wrong URL for picture
Moderator: Thorsten
Re: Inserting Image uses wrong URL for picture
Hi,
yes, it's the code in phpMyFAQ to use images in PDFs. What's wrong with it?
bye
Thorsten
yes, it's the code in phpMyFAQ to use images in PDFs. What's wrong with it?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Inserting Image uses wrong URL for picture
The problem is not that images are used.
I have problems with the pathes that are inserted into the article.
Did I wrote anything about PDF, I believe no.
When I use the "insert image" dialog to add an image to an article. the dialog shows me existing images.
For any reason (I don't understand it) the images are offered from ftproot/images/images/
Now I select this image Evalanche_1.png!
But the path inserted into it he article is wrong. It shows this value: http://kb.grutzeck.de/images/Evalanche_1.png
I have problems with the pathes that are inserted into the article.
Did I wrote anything about PDF, I believe no.
When I use the "insert image" dialog to add an image to an article. the dialog shows me existing images.
For any reason (I don't understand it) the images are offered from ftproot/images/images/
Now I select this image Evalanche_1.png!
But the path inserted into it he article is wrong. It shows this value: http://kb.grutzeck.de/images/Evalanche_1.png
Re: Inserting Image uses wrong URL for picture
The problem seams to be simple.
The image selector does a recursive search in the complete kbroot/images directory.
If you select an image from a subfolder kbroot/images/subfolder than the subfolder path is not included into the link to the image. Only the base path is used here.
The image selector does a recursive search in the complete kbroot/images directory.
If you select an image from a subfolder kbroot/images/subfolder than the subfolder path is not included into the link to the image. Only the base path is used here.
Re: Inserting Image uses wrong URL for picture
Hi,
ah, now I understand. Here's the ticket: https://github.com/thorsten/phpMyFAQ/issues/1164
bye
Thorsten
ah, now I understand. Here's the ticket: https://github.com/thorsten/phpMyFAQ/issues/1164
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Inserting Image uses wrong URL for picture
Hi,
fixed with https://github.com/thorsten/phpMyFAQ/co ... 37f706bc77 for 2.9.2
Thanks!
bye
Thorsten
fixed with https://github.com/thorsten/phpMyFAQ/co ... 37f706bc77 for 2.9.2
Thanks!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist