I
I
Insom842020-01-24 17:29:12
css
Insom84, 2020-01-24 17:29:12

Where are the photos of the subdirectory loaded from?

Hello!
Site on MODX Revolution 2.6.1-pl
In the subsection of product photos, god knows where is loaded (the problem is that the photos are not the same for the goods), I
searched through the entire admin panel and ftp, but could not find the file where they are registered.
Maybe someone had a similar problem or someone knows where the download of these photos lies?
ps the only file on ftp with this layout is the 152.cache.php file at httpdocs\core\cache\recource\web\recource , but if I understand correctly, it's just a cache and changing anything on the site will not change anything, so ?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey delphinpro, 2019-04-24
@AlexGlinskiy

Given the fact that the background goes to the left, which means it will not create a horizontal scrollbar, you can do it quite simply:

.heading {
  position: relative;
  …
  &::before {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100vw; /* или 99999px; */
    background: rgba(blue, 0.5);
    z-index: -1;
    transform: skewX(30deg);
  }
}

A
Anton Tarasov, 2020-01-24
@Insom84

ps the only file on ftp with this layout is the 152.cache.php file at httpdocs\core\cache\recource\web\recource , but if I understand correctly, it's just a cache and changing anything on the site will not change anything, so ?

Yes, that's right, it's cache.
And it caches the resource with ID=152, as I understand it, that's what we're talking about.
And what does it load? is there a snippet call? Or a chunk with a snippet? Send more code, what and where.
Well, look at the plugins, suddenly something is redefined.

D
Dmitry, 2020-01-24
@DcFanoiD

Your image is displayed through the phpthumbof snippet, the path to the original image is in the photo_cat tv field. In the admin panel, this is the "Additional TV fields" tab on the resource editing page.
Try this output:

<img class="mainCatalog__image" src="" alt="">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question