Download and view the image does not work in 3.0.3

Please report bugs here!

Moderator: Thorsten

blondin62
Posts: 38
Joined: Sun Mar 11, 2018 11:06 am

Download and view the image does not work in 3.0.3

Post by blondin62 » Mon May 25, 2020 10:38 pm

hello Thorsen

I have the same problem as that described by Iconic with the images but on version 3.0.3.
I think this is a problem in the location of the "images" folder.
if I go up one level (at the same level as the "phpmyfaq" folder) it works, I see my images again.

In the source code, we see that the defined location is "<img src =" ../images/xxxxxx.jpg "/>

Thorsten
Posts: 15114
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Download and view the image does not work in 3.0.3

Post by Thorsten » Tue May 26, 2020 7:34 am

Hi,

where do you have the problem? Frontend or admin backend?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

blondin62
Posts: 38
Joined: Sun Mar 11, 2018 11:06 am

Re: Download and view the image does not work in 3.0.3

Post by blondin62 » Tue May 26, 2020 11:51 am

on both, on the back office when I add an image, it does not appear. instead I have a little icon
and when I post my article I have the same thing, a small icon
but if I check in the images folder, it contains my image (number 1)

to be sure, I did a complete installation again
I added a screenshot to better explain

(i use drag and drop method to insert my images)

and the source code for the image in the front office :

<body>
<p><img src="../images/1590489886mceclip0.png" /></p>
</body>
You do not have the required permissions to view the files attached to this post.

Thorsten
Posts: 15114
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Download and view the image does not work in 3.0.3

Post by Thorsten » Wed May 27, 2020 9:20 am

Hi,

I opened an issue: https://github.com/thorsten/phpMyFAQ/issues/1764

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

blondin62
Posts: 38
Joined: Sun Mar 11, 2018 11:06 am

Re: Download and view the image does not work in 3.0.3

Post by blondin62 » Thu May 28, 2020 10:04 am

hi Thorsen

thx

I continued to dig and actually the path to the images folder is incorrect in the database.
if I change the path ../images/XXXX. jpg with ./images/XXXX. jpg everything works, at the front office, as at the back office

a workaround is after inserting your image, is to edit the source code in the WYSIWYG
and change all the paths "../images" by ./images and save your article
You do not have the required permissions to view the files attached to this post.

Thorsten
Posts: 15114
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Download and view the image does not work in 3.0.3

Post by Thorsten » Wed Jun 10, 2020 11:03 pm

Hi,

I tried to reproduce it on my test installations and I can't reproduce it, sorry. Maybe I fixed it accidentally with the upcoming 3.0.4 release.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

blondin62
Posts: 38
Joined: Sun Mar 11, 2018 11:06 am

Re: Download and view the image does not work in 3.0.3

Post by blondin62 » Fri Jun 12, 2020 7:09 am

Hi Thorsen

ok i will try in the same condition with version 3.0.4 when it is released

thx

Thorsten
Posts: 15114
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Download and view the image does not work in 3.0.3

Post by Thorsten » Fri Jun 12, 2020 7:17 am

Hi,

one question, do you run phpMyFAQ in an own directory or in directly in the root?

https://www.example.org/

or

https://www.example.org/faq/

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

blondin62
Posts: 38
Joined: Sun Mar 11, 2018 11:06 am

Re: Download and view the image does not work in 3.0.3

Post by blondin62 » Fri Jun 12, 2020 8:11 am

hi

i work in my own directroy :

https://nameofmyserveur@mydomain/phpmyfaq/

Thorsten
Posts: 15114
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Download and view the image does not work in 3.0.3

Post by Thorsten » Fri Jun 12, 2020 8:14 am

Hi,

okay, maybe I have to fix something then... please stay tuned!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

blondin62
Posts: 38
Joined: Sun Mar 11, 2018 11:06 am

Re: Download and view the image does not work in 3.0.3

Post by blondin62 » Fri Jun 12, 2020 8:21 am

ok no problem
Thx

Thorsten
Posts: 15114
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Download and view the image does not work in 3.0.3

Post by Thorsten » Tue Jul 21, 2020 9:11 pm

Hi,

finally I found the issue (and some more...).

Here's the fix for the delayed but upcoming 3.0.4 release: https://github.com/thorsten/phpMyFAQ/co ... 618079db19

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

blondin62
Posts: 38
Joined: Sun Mar 11, 2018 11:06 am

Re: Download and view the image does not work in 3.0.3

Post by blondin62 » Tue Jul 21, 2020 9:21 pm

Hi
perfect, i will try it tomorrow
and thank you again for everything :)

Bye

Thorsten
Posts: 15114
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Download and view the image does not work in 3.0.3

Post by Thorsten » Wed Jul 22, 2020 5:32 am

Hi,

waiting for your feedback to release 3.0.4. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

blondin62
Posts: 38
Joined: Sun Mar 11, 2018 11:06 am

Re: Download and view the image does not work in 3.0.3

Post by blondin62 » Wed Jul 22, 2020 12:29 pm

Hi

it works perfectly, (I never doubted :D )

by

Post Reply