Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: How to stop products images auto generate?  (Read 285 times)

Offline heng

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
How to stop products images auto generate?
« on: June 22, 2017, 11:22:52 PM »
I'm installing AbanteCart cart on Ubuntu 16, Nginx  everything is working as well but finally I got the images thumbnails always generate when users click on each products.
Please help

modified:   public_html/image/thumbnails/18/6a/demo_product07_jpg-100012-100x100.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product07_jpg-100012-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product07_jpg-100012-220x220.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product07_jpg-100012-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product14_2_jpg-100007-100x100.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product14_2_jpg-100007-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product15_1_jpg-100010-100x100.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product15_1_jpg-100010-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product18_jpg-100013-100x100.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product18_jpg-100013-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_2_jpg-100015-300x300.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_2_jpg-100015-45x45.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_2_jpg-100015-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_2_jpg-100015-500x500.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_2_jpg-100015-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_jpg-100014-300x300.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_jpg-100014-45x45.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_jpg-100014-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_jpg-100014-500x500.jpg
        modified:   public_html/image/thumbnails/18/6a/demo_product30_jpg-100014-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_1_jpg-100028-300x300.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_1_jpg-100028-300x300@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_1_jpg-100028-45x45.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_1_jpg-100028-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_1_jpg-100028-500x500.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_2_jpg-100027-300x300.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_2_jpg-100027-300x300@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_2_jpg-100027-45x45.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_2_jpg-100027-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_2_jpg-100027-500x500.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_2_jpg-100027-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_3_jpg-100029-100x100.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_3_jpg-100029-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_3_jpg-100029-45x45.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_3_jpg-100029-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_jpg-100026-100x100.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_jpg-100026-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_jpg-100026-300x300.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_jpg-100026-300x300@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_jpg-100026-45x45.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_jpg-100026-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_jpg-100026-500x500.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product02_jpg-100026-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_1_jpg-100016-300x300.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_1_jpg-100016-45x45.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_1_jpg-100016-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_1_jpg-100016-500x500.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_1_jpg-100016-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_3_jpg-100017-300x300.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_3_jpg-100017-300x300@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_3_jpg-100017-45x45.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_3_jpg-100017-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_3_jpg-100017-500x500.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product30_3_jpg-100017-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product42_jpg-100030-220x220.jpg
        modified:   public_html/image/thumbnails/18/6b/demo_product42_jpg-100030-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/6c/demo_product06_6_jpg-100037-100x100.jpg
        modified:   public_html/image/thumbnails/18/6c/demo_product06_6_jpg-100037-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6c/demo_product06_6_jpg-100037-220x220.jpg
        modified:   public_html/image/thumbnails/18/6c/demo_product06_6_jpg-100037-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/6c/demo_product11_1_jpg-100032-100x100.jpg
        modified:   public_html/image/thumbnails/18/6c/demo_product11_1_jpg-100032-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6c/demo_product43_jpg-100035-220x220.jpg
        modified:   public_html/image/thumbnails/18/6c/demo_product43_jpg-100035-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/6d/demo_product09_4_jpg-100059-100x100.jpg
        modified:   public_html/image/thumbnails/18/6d/demo_product09_4_jpg-100059-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6d/demo_product17_jpg-100052-100x100.jpg
        modified:   public_html/image/thumbnails/18/6d/demo_product17_jpg-100052-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6d/demo_product23_jpg-100057-220x220.jpg
        modified:   public_html/image/thumbnails/18/6d/demo_product23_jpg-100057-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/6d/demo_product41_jpg-100058-220x220.jpg
        modified:   public_html/image/thumbnails/18/6d/demo_product41_jpg-100058-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/6e/demo_product10_jpg-100071-100x100.jpg
        modified:   public_html/image/thumbnails/18/6e/demo_product10_jpg-100071-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6e/demo_product21_jpg-100079-220x220.jpg
        modified:   public_html/image/thumbnails/18/6e/demo_product21_jpg-100079-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product01_jpg-100089-100x100.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product01_jpg-100089-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_1_jpg-100095-300x300.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_1_jpg-100095-300x300@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_1_jpg-100095-45x45.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_1_jpg-100095-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_1_jpg-100095-500x500.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_1_jpg-100095-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_jpg-100094-100x100.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_jpg-100094-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_jpg-100094-300x300.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_jpg-100094-300x300@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_jpg-100094-45x45.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_jpg-100094-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_jpg-100094-500x500.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product03_jpg-100094-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product13_2_jpg-100080-100x100.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product13_2_jpg-100080-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-100x100.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-220x220.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-300x300.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-300x300@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-45x45.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-500x500.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_1_jpg-100091-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_2_jpg-100093-300x300.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_2_jpg-100093-300x300@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_2_jpg-100093-45x45.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_2_jpg-100093-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_2_jpg-100093-500x500.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_2_jpg-100093-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_jpg-100092-300x300.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_jpg-100092-45x45.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_jpg-100092-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_jpg-100092-500x500.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product16_jpg-100092-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product19_jpg-100082-100x100.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product19_jpg-100082-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product19_jpg-100082-220x220.jpg
        modified:   public_html/image/thumbnails/18/6f/demo_product19_jpg-100082-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product03_2_jpg-100096-300x300.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product03_2_jpg-100096-300x300@2x.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product03_2_jpg-100096-45x45.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product03_2_jpg-100096-45x45@2x.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product03_2_jpg-100096-500x500.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product03_2_jpg-100096-500x500@2x.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product05_jpg-100101-100x100.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product05_jpg-100101-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product05_jpg-100101-220x220.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product05_jpg-100101-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product08_jpg-100097-100x100.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product08_jpg-100097-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product08_jpg-100097-220x220.jpg
        modified:   public_html/image/thumbnails/18/70/demo_product08_jpg-100097-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/71/demo_product12_jpg-100112-100x100.jpg
        modified:   public_html/image/thumbnails/18/71/demo_product12_jpg-100112-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/71/mf_Bvlgari_jpg-100115-100x100.jpg
        modified:   public_html/image/thumbnails/18/71/mf_Bvlgari_jpg-100115-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/71/mf_armani_logo_gif-100122-100x100.gif
        modified:   public_html/image/thumbnails/18/71/mf_armani_logo_gif-100122-100x100@2x.gif
        modified:   public_html/image/thumbnails/18/71/mf_armani_logo_gif-100122-220x220.gif
        modified:   public_html/image/thumbnails/18/71/mf_armani_logo_gif-100122-220x220@2x.gif
        modified:   public_html/image/thumbnails/18/71/mf_benefit_logo_black_jpg-100117-100x100.jpg
        modified:   public_html/image/thumbnails/18/71/mf_benefit_logo_black_jpg-100117-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/71/mf_benefit_logo_black_jpg-100117-220x220.jpg
        modified:   public_html/image/thumbnails/18/71/mf_benefit_logo_black_jpg-100117-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/71/mf_calvin_klein_jpg-100116-100x100.jpg
        modified:   public_html/image/thumbnails/18/71/mf_calvin_klein_jpg-100116-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/71/mf_sephora_ba_logo_black_jpg-100114-100x100.jpg
        modified:   public_html/image/thumbnails/18/71/mf_sephora_ba_logo_black_jpg-100114-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/73/demo_product51_png-100150-220x220.png
        modified:   public_html/image/thumbnails/18/73/demo_product51_png-100150-220x220@2x.png
        modified:   public_html/image/thumbnails/18/74/demo_product58_1_jpg-100168-220x220.jpg
        modified:   public_html/image/thumbnails/18/74/demo_product58_1_jpg-100168-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/74/demo_product59_1_jpg-100173-220x220.jpg
        modified:   public_html/image/thumbnails/18/74/demo_product59_1_jpg-100173-220x220@2x.jpg
        deleted:    public_html/image/thumbnails/18/76/book2_png-100200-200x200.png
        deleted:    public_html/image/thumbnails/18/76/book2_png-100200-200x200@2x.png
        deleted:    public_html/image/thumbnails/18/76/cdaudio_png-100199-200x200.png
        deleted:    public_html/image/thumbnails/18/76/cdaudio_png-100199-200x200@2x.png
        modified:   public_html/image/thumbnails/18/77/new_ladies_red1_jpg-100216-100x100.jpg
        modified:   public_html/image/thumbnails/18/77/new_ladies_red1_jpg-100216-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/78/shoe_1_jpg-100228-220x220.jpg
        modified:   public_html/image/thumbnails/18/78/shoe_1_jpg-100228-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/78/shoeblack_1_jpg-100235-220x220.jpg
        modified:   public_html/image/thumbnails/18/78/shoeblack_1_jpg-100235-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/79/demo_product31_png-100249-100x100.png
        modified:   public_html/image/thumbnails/18/79/demo_product31_png-100249-100x100@2x.png
        modified:   public_html/image/thumbnails/18/79/lancome_mascara_jpg-100250-100x100.jpg
        modified:   public_html/image/thumbnails/18/79/lancome_mascara_jpg-100250-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/79/lancome_mascara_jpg-100250-220x220.jpg
        modified:   public_html/image/thumbnails/18/79/lancome_mascara_jpg-100250-220x220@2x.jpg
        modified:   public_html/image/thumbnails/18/79/t_shirt_3_jpg-100243-100x100.jpg
        modified:   public_html/image/thumbnails/18/79/t_shirt_3_jpg-100243-100x100@2x.jpg
        modified:   public_html/image/thumbnails/18/79/t_shirt_3a_jpg-100244-100x100.jpg
        modified:   public_html/image/thumbnails/18/79/t_shirt_3a_jpg-100244-100x100@2x.jpg
        deleted:    public_html/resources/image/18/76/7.png
        deleted:    public_html/resources/image/18/76/8.png
        deleted:    public_html/resources/image/18/79/d.png
        deleted:    public_html/resources/image/18/7a/2.jpg
        modified:   public_html/resources/image/18/7a/3.jpg

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1651
  • Karma: +212/-10
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How to stop products images auto generate?
« Reply #1 on: June 23, 2017, 03:28:12 AM »
it generates on every request or only on first visit of page?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline heng

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: How to stop products images auto generate?
« Reply #2 on: June 23, 2017, 07:59:43 AM »
Yes,
It automatically generates all image when users click on images and user go to that pages.
However, I read AbanteCart and follow Official Nginx configure both in Github and in application files (nginx.conf.txt) I configure in abantecard.conf But it does not yet work on my website when I go to website  >jersey-cotton-striped-polo-shirt it back to home page.

Server logs.

2017/06/23 11:27:04 [error] 981#0: *192 open() "/home/saku/abantecard/public_html404" failed (2: No such file or directory), client: 103.197.107.248, server: akhura.com, request: "GET /mens-fine-cotton-giraffe-polo-shirtsindex.php?rt=r/extension/banner_manager&type=1&banner_id=15&_=1498217225433 HTTP/1.1", host: "akhura.com", referrer: "akhura.com/mens-fine-cotton-giraffe-polo-shirts"


This is my configuration

server {

    listen ..;

    root ......public_html;
    index index.php index.html;

    server_name.

#   access_log ......akhura_access.log;
    error_log  ......errors.log;

    autoindex off;
    proxy_connect_timeout 100s;
    proxy_read_timeout 100s;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }
  location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
    }

 location ~* \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|\.php_ {
        deny all;

    }

  location ~ /\. {
        deny all;
        access_log off;
        log_not_found off;
    }

 location ~* ^(.*)\.(jpg|png|gif)$ {

   set $hidpi_uri $1@2x.png;
        if ($http_cookie !~ 'HTTP_IS_RETINA=1') {
          break;
        }
        try_files $hidpi_uri $uri =404;
    }

 location ~*  \.(jpg|jpeg|png|gif|css|js|ico)$ {
        expires max;
        log_not_found off;
    }

    location ~ /(system/logs|resources/download) {
      deny all;
      return 403;
    }

    location ~ \.php$ {

        try_files $uri = 404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:var/run/php/php7.0-fpm-saku.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}
« Last Edit: June 23, 2017, 08:25:01 AM by heng »

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1651
  • Karma: +212/-10
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How to stop products images auto generate?
« Reply #3 on: June 23, 2017, 10:15:02 AM »
1. regarding error in log for url /mens-fine-cotton-giraffe-polo-shirtsindex.php?rt=r/extension/banner_manager&type=1&banner_id=15&_=1498217225433
Please replace file public_html/extensions/banner_manager/storefront/view/default/javascript/banner_manager.js with attached and let us know.
2. regarding modified images. Can you please check some image thumbnail via ftp before page loading and after. You can compare dates of modification of file.
Probably modification related to nginx proxy data but not files.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline heng

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: How to stop products images auto generate?
« Reply #4 on: June 24, 2017, 11:58:48 AM »
It is great right now but onemore thing SEO still same

2017/06/24 15:55:18 [error] 23879#0: *5 open() "/home/saku/abantecard/public_html404" failed (2: No such file or directory), client: 103.197.107.248, server: akhura.com, request: "GET /jersey-cotton-striped-polo-shirtindex.php?rt=r/extension/banner_manager&type=1&banner_id=16&_=1498319719556 HTTP/1.1",
 host: "akhura.com", referrer: "akhura.com/jersey-cotton-striped-polo-shirt"

 

Cheap Prom dresses 2018