Answer the question
In order to leave comments, you need to log in
How to use the same photo in different blocks?
In general, the situation is this. The same photo should be in two different blocks (in order to set your own styles for each later). But since it's not an icon and it's not small enough to use base64 (300-400px), there's nothing left but to load it twice. And somehow I don’t really like that time and requests are wasted on the same photo. I may be wrong about the loading here, but at the moment it seems that way.
Actually the question is: is it possible to load an image once for two different blocks?
Answer the question
In order to leave comments, you need to log in
Modified and running files are already a consequence when the hacker gained access. This is no longer interesting to anyone.
And the reason must be sought elsewhere. Usually a virus on your computer (and password theft from ftp), password interception (for example, if ftp, and not sftp with public / private keys), password guessing, SQL injection, lack of validation of input data and uploaded files, incorrect web setup servers, etc.
The most common cases are:
1. Login/password was stolen from an FTP client/browser, then direct access was used to change the code
2. Shell upload to the site through forms with insufficient filtering
3. Infected module/update
4. Other site vulnerabilities (for example, SQL injection)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question