PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 6/3/2022 3:50 PM by  Will Strohl
Images are not displaying
 4 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Author Messages





New Member






--
5/29/2022 5:11 AM
    Hi there,

    Can you help me please with something.

    I have DNN 9.10.2 with 2 sites:

    Site1.com – which is portal/0
    And
    Site2.xom – which is portal/1

    I have installed Hotcakes 3.6.0 (through Site2 – if any difference) and gone thru the wizard successfully and all pages are created under Site2.com/hotcakes/ and all daughter pages.

    The Backoffice of Hotcakes on site2 is also working fine – for example:
    Site2.com/DesktopModules/Hotcakes/Core/Admin/catalog/default.aspx
    and all other pages.

    However, product images (as well as store logo and so on) are uploading but never displaying becouse url points to for example:
    https://portals/1/Hotcake.../and-image-name.....

    So please, is there any way to add Site1.com in above url so that the images are loaded?

    Many thanks for the help.

    Cheers

    Jane





    New Member






    --
    5/31/2022 11:46 AM
    Hi everyone!

    Does anyone please know how to fix this issue?

    Thanks!






    Veteran Member






    --
    6/1/2022 7:14 PM
    Hello:

    With the given information, this sounds like something wrong with the custom viewset that is applied to the site. You'll want to check the respective viewset file(s) where the URL is being specified.

    Also, please try to post questions in the correct forum in the future instead of just putting it here in "Ask Anything." This will help yourself and others find answers more easily in the future (including Google). Thanks!
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    New Member






    --
    6/2/2022 4:23 AM
    Thank you Will!

    I think that everything is applied correctly.

    I have indeed quite a few sites with Hotcakes and all of them are working perfectly well. Here is rather issue that I cannot figure out for to add domain2.com (or where to edit it) in order for the images to show correctly.

    The current url points to for example:
    http://portals/1/Hotcakes/Data/products/b3c9b5fd-3396-499e-a25d-76c0f3e8g020/additional/5e7f2a5d-0fa9-4295-ab77-452a0fe6eef7/tiny/testpic.jpg

    That is on the product detail view and category view.

    And on Hotcakes backoffice images are not appearing for the same reason:
    https://portals/1/Hotcake...8g020/medium/testpic .jpg

    However on domain1.com – which is portal/0, images are perfectly fine and image url is for example:
    https://DOMAIN1.COM/Portals/0/Hotcakes/Data/products/c89c77f9-50d3-4ca3-94e7-451fc3cd4362/medium/pic03.jpg

    So for some reason DOMAIN2.com is not popping info images on portal/1.

    Can you advice please which files I should look into to change this?

    Many thanks.

    Sorry for posting this into wrong category.





    Veteran Member






    --
    6/3/2022 3:50 PM
    I'm afraid my answer is still the same. You'll want to open the specific CSHTML file for the view you're looking at, and inspect the image tag in the HTML to see how it's currently coded. There shouldn't necessarily need to be a domain seen there at all. It sounds like there might be one or more typos in the view(s).
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes
    You are not authorized to post a reply.


    Loading
    • Sign-up for the Hotcakes Community Newsletter: