Osclass Support Forums

Osclass theme support => Alpha Osclass Theme => Topic started by: Andrey on September 08, 2019, 06:32:13 PM

Title: CSS & JS Minify Plugin missing photo
Post by: Andrey on September 08, 2019, 06:32:13 PM
if you compress css - all the photos in the advertisement disappeared
Any suggestion how to fix this?
Minify really needed, which greatly improve the speed ...
thank
Title: Re: CSS & JS Minify Plugin missing photo
Post by: MB Themes on September 09, 2019, 01:43:35 PM
@Olime
Most probably css is not minified in expected way and output does not match to sources.
Title: Re: CSS & JS Minify Plugin missing photo
Post by: Andrey on September 09, 2019, 02:50:59 PM
Sorry, I didn’t say it right. Not css, but when JS compression will be enabled.
Title: Re: CSS & JS Minify Plugin missing photo
Post by: MB Themes on September 09, 2019, 02:53:28 PM
Js compression in most cases will not work properly
Title: Re: CSS & JS Minify Plugin missing photo
Post by: Andrey on September 09, 2019, 03:09:31 PM
I understand you.
thank
Title: Re: CSS & JS Minify Plugin missing photo
Post by: Andrey on October 19, 2019, 12:08:46 PM
Hey. Please help with the code. Must display thumbnail

echo '<div class="listing-thumb"><img src="'.$img['pk_i_id'].'_thumbnail.'.$img['s_extension'].'" title="'.osc_esc_html(osc_item_title()).'" alt="'.osc_esc_html(osc_item_title()).'"></div>';

But the code is <img src = "'. $ Img [' pk_i_id '].' shows not all the way https://site.net/27588_thumbnail.jpg

help me please
Title: Re: CSS & JS Minify Plugin missing photo
Post by: MB Themes on October 21, 2019, 10:27:19 AM
@Olime
In most of themes JS compression will not work, as osclass does not have best hooks to control this.