No images after publishing - Page 1 -...

User 8009 Photo


Registered User
3 posts

I am seeing an issue in V3.1 Build 0. The shop looks correct and all images show in preview. However, after publishing the site all the images are broken links. Looking at the generated source the img tags are referencing '../../name_of_my_site/shop_files/ccdata/images/myimage.jpg' Looking at the directory structure on the server, these tags should be '/ccdata/images/myimage.jpg'. Is there a setting someplace that I am missing.

Thanks
User 514521 Photo


Registered User
129 posts

How did you upload your shop? Through the publish option or with a separate ftp program using the SCC export for upload?

My server structure is as you described, ".../shop/ccdata/images/myimage.jpg".

If you're using the publish option, could you have used an incorrect path in the server settings section?
User 8009 Photo


Registered User
3 posts

I used the publish option from within the application. I did set a server path, but it is correctly pointed to the html directory on the server. The shop appears correctly. All the items we added are listed and you can navigate to the various pages. It is just the image paths that are incorrect. Furthermore, it's not the images that are part of the template but only the item images.

Thanks
User 103173 Photo


VP of Software Development
0 posts

What is the link to your shop?
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 514521 Photo


Registered User
129 posts

I looked at your site and it appears that the path to your image is incorrect.

I went to the individual page of your product and the source of your picture shows a path of
<img src="../../Green_River_Prospecting_Equipment__LLC/shop_files/ccdata/images/smallMain_0_1.jpg"


On my site for example, the path is
<img src="ccdata/images/smallMain_0_0.jpg"


I used the export for upload feature and then uploaded with Filezilla (ftp program). I don't know why the publish feature didn't create the correct path on server for you, but someone will jump in or use the Support Room.
User 1950693 Photo


Registered User
29 posts

I have the same problem. I have never been able to use the auto upload/publish feature of the software. Tried everything... I can only use Filezilla. This gives me serious problems with figuring out where to put what into what directory and getting everything simpatico! I followed the same route for my image directory as 'lasercrow'. I have multiple domains with my host and I'm also using html within SCC to add my images on a page. Not sure if I'm doing this right. So...should I follow suite and go ahead and go to the Support Room? I'll get with my server first and see what they suggest since I know I'm correctly directing my image.
Forgot to add that improvement suggestion in the SCC forum! Ability to add images to pages with a button insert and auto filing with save!
Thanks,
"Become the change you wish to see in the world." -Mahatma Ghandi
Kris
User 1950693 Photo


Registered User
29 posts

Will I ever find an egg...?
"Become the change you wish to see in the world." -Mahatma Ghandi
Kris
User 562592 Photo


Registered User
2,038 posts

Yes, I believe your ccdata has to be in the same root directory as the php files.
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 1950693 Photo


Registered User
29 posts

All the other photos are fine because SCC has renamed them. They show, it's the one I added with html code on a static page. The problem is either in my code directory or...?
"Become the change you wish to see in the world." -Mahatma Ghandi
Kris

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.