Jump to content

Images in img/cms/ can't show


Recommended Posts

Hi,

 

After upgrading to 1.6.0.5 doesn't any of the pictures in "img/cms/" show up on the front office. Pictures like banners, payment logos (bottom).

 

Anyone who has the answer to this problem? Except from this - everything works.

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

Hi,

 

I can see my img in cms pages but problem is if i use the link like ../ . 

 

www.domain.com/en/myownfolder/image.jpg  shows and for other languages different url !

​any suggestion to fix this problem?

 

I have ps1.6

 

Thanks in advance 

Link to comment
Share on other sites

  • 2 months later...

it's because you use relative path for image, use direct link to image instead of relative path like "../img/cms/image.jpg"

HI Vekia,

 

Please see this link for example: http://continuousinksupplysystem.com.au/en/content/17-ciss-installation-instructions

 

for En page I used ../images/CISS-HELP.jpg

 

but still shows: http://continuousinksupplysystem.com.au/en/images/CISS-HELP.jpg

Link to comment
Share on other sites

your post probably was cutted somehow (?)

hi,

 

I would like to have relative path , because i need to active Https in all of my pages, problem is if i use relative path, img shows with languages,

for example in en pages shows like this" ../en/images/CISS-HELP.jpg   , i don't know how can i dis-active flag for images url. if i can not do that I have to use https fro all img links and will takes long time to fix this bug!

any suggestion will help me  hips.

Thanks for your help in advance...

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

I was trying to add images to my cms pages via tinyMCE and were not displayed.

 

The problem was that tinyMCE was changing all the url's to relative and couldn't be displayed because of the language on the url.

 

for example, tinyMCE converted my links to this:

../img/cms/img.png

 

getting this:

http://www.myweb.com/en/img/cms/img.png

 

I solved this by editing tinymce configuration file (/js/tinymce.inc.js) 

and adding this:

relative_urls : false,
convert_urls: false,

After this change I could change the url in the tinyMCE to display the proper path.

following the example:

 

../../img/cms/img.png

or any absolute path you want.

 

I'm not sure if that's your problem but hope it can help someone.

 

This is the tutorial by Milosz Myszczuk to make the timyMCE changes:

mypresta.eu/en/art/prestashop-16/extended-rich-text-editor.html

Link to comment
Share on other sites

I was trying to add images to my cms pages via tinyMCE and were not displayed.

 

The problem was that tinyMCE was changing all the url's to relative and couldn't be displayed because of the language on the url.

 

for example, tinyMCE converted my links to this:

../img/cms/img.png

 

getting this:

http://www.myweb.com/en/img/cms/img.png

 

I solved this by editing tinymce configuration file (/js/tinymce.inc.js) 

and adding this:

relative_urls : false,
convert_urls: false,

After this change I could change the url in the tinyMCE to display the proper path.

following the example:

 

../../img/cms/img.png

or any absolute path you want.

 

I'm not sure if that's your problem but hope it can help someone.

 

This is the tutorial by Milosz Myszczuk to make the timyMCE changes:

mypresta.eu/en/art/prestashop-16/extended-rich-text-editor.html

Thanks for that , 

When I check the file already like that:

I just use like this ../../img.png now working ok

 

Thanks again

Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...

I found it:

 

Look for file .htaccess on your img/cms folder and remove it or just comment this line

 

#php_flag engine off

 

Mine is working now

nope this didnt work for neither all the other posts i have seen on this forum please see http://www.styleplaygroundng.com/content/3-terms-and-conditions-of-use

using inspector i change the path from relative path to full path and it worked. where can i put this full path in the code? which file?

Link to comment
Share on other sites

  • 9 months later...
  • 2 months later...
Guest locen

Hi, I have problems when i add image in cms page. i can't add image by click 

post-1119372-0-71241900-1459406351_thumb.png

but i should follow these passages  to insert images. 

post-1119372-0-58574700-1459406387_thumb.png

can someone help me? 

Edited by locen (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...