Duplicate image

Posted in: Newspaper
Post count: 3

Hello,
I want to change the theme of my website to yours. In the current theme, I was using both a featured image and the actual image within each article. When I switched to your theme, both images now appear in the article.
I would like to know if there is an option to disable one of them, so that only a single image is displayed.
I looked through the settings but couldn’t find anything.

Example: https://ct100.ro/staging/ambulanta-implicata-intr-un-accident-in-constanta/

Post count: 35449

Hi,

What can be done is to use a single post template and then utilize the tagDiv Composer to remove the featured image element. This way, you won’t need to make any adjustments to your articles. The featured image will still be displayed in modules, but it will be removed from the article itself, where the image set within the article will be used instead.
https://i.imgur.com/Z2dbBV6.png – use right click on element – https://i.imgur.com/bAyFnCz.png

I hope this helps!

Post count: 3

Buna ziua 🙂 Multumesc pentru raspuns.

Intrebarea era daca pot sa fac ceva automat pentru toate articolele. Am 43.000 de articole pe site, vreau sa schimb tema, sa o folosesc pe a dv, dar este esential sa pot face ca imaginea sa nu fie dublata o singura data pentru toate articolele, nu pentru fiecare in parte.

Daca se poate, daca nu, nu.

Post count: 35449

Buna,
Am inteles ce doriti sa obtineti, insa este posibil sa nu ma fi exprimat suficient de clar.

In prezent, atunci cand folositi tema Newspaper si deschideti un articol, prima imagine apare de doua ori (https://i.imgur.com/A8ub9nk.png). Acest lucru se intampla deoarece template-ul folosit afiseaza automat imaginea setata ca featured image, iar aceeasi imagine este inclusa si ca prim element in continutul articolului.

O solutie permanenta, care se aplica tuturor articolelor, este folosirea unui single post template din tagDiv Cloud Library, din care sa eliminati elementul de featured image. In acest fel, articolul va ramane neschimbat ca structura si continut, doar ca nu se va mai incarca si afisa acea imagine duplicata. https://i.imgur.com/UHQiuld.png https://i.imgur.com/212sYqY.png

O alta varianta este ascunderea imaginii din continut folosind un cod CSS. Totusi, aceasta optiune o ascunde doar vizual imaginea va continua sa fie incarcata in pagina, ceea ce poate afecta performanta.

Sper ca am reusit sa explic cat mai clar situatia.
Multumesc!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.