Few errors in my woopress theme - by Vikfom

This topic has 4 replies, 2 voices, and was last updated 7 years, 5 months ago ago by Eva Kemp

  • Avatar: Vikfom
    Vikfom
    Participant
    October 5, 2016 at 12:44

    Hello!
    I have few questions about my website.
    1) I chose SWAP in the product image hover in theme settings. And I uploaded a photo for hover effect in the product listing. But when I want to see the hover effect on the image in my catalog I only see empty space. I also attached the example of my product with hover effect to the private content.
    2) Photos of products on my website are not clear. When I uploaded them, they were clear.
    Can I fix it somehow? I sell products that is why quality of photos is very important to me.
    And also when I enlarge photo in the product page, it has better quality.

    Please help me with my questions. Thank you in advance!

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 5, 2016 at 19:00

    Hello,

    The problem was caused by your hosting settings.
    Image is loaded from the path that is defined in “DOCUMENT_ROOT” variable. On a server where your site is located the path for DOCUMENT_ROOT is written:
    _SERVER["DOCUMENT_ROOT"] /var/chroot/home/content/14/7925914/html
    but your site is located in /var/chroot/home/content/14/7925914/html/baliskulls and this path is written for variable “SUBDOMAIN_DOCUMENT_ROOT”.
    So to fix the issue I’ve changed the code $file_path = $_SERVER['DOCUMENT_ROOT'] . $file_path['path']; to $file_path = $_SERVER['SUBDOMAIN_DOCUMENT_ROOT'] . $file_path['path']; on line 121 in the file wp-content/themes/woopress/framework/images.php.

    Regards,
    Eva Kemp.

    Avatar: Vikfom
    Vikfom
    Participant
    November 2, 2016 at 08:56

    Dear Eva,
    Thank you for your help!
    Can you help me with another problem, please?
    Photos of products on my website are not clear. When I uploaded them, they were clear.
    Can I fix it somehow? I sell products that is why quality of photos is very important to me.
    And also when I enlarge photo in the product page, it has better quality.

    Please help me. Thank you in advance!

    Avatar: Eva
    Eva Kemp
    Support staff
    November 2, 2016 at 10:42

    Hello,

    As I see your images are shown fine. Please show a direct page where image is not clear.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.