white spaces publish asset manager yii -
I have an image with an empty space on some pages, it works fine on others, it cuts Where is the blank
same image ... I get it on a page (wrong):
$ thumb = Yii :: app () - & gt; AssetManager- & gt; Published (Yii :: Application () -> BasePath '/ images /' .$ Data-> Products-> Product_image); By & lt;? Echo '& lt; A href = "'. $ Url.'" & Gt; & Lt; Img src = '. $ Thumb. '& Gt; & Lt; B & gt; $ Prodname '& Lt; / B & gt; & Lt; / A & gt; ';; & Gt;
and on the second (right):
-
& lt; Img src = "/ assets / 848b31ff / thumb_4307-0403141 Big.jpg" class = "thumb-product" border = "0" alt = "" & gt;
if (is_file ($ img_path $ model-> product_atage) & amp; is_file ($ thumb_path. $ Model- & gt; Product_is)) $ $ product_imaget = Yii :: app () - & gt; Property Manager- & gt; Publish (Yii :: app) - & gt; BasePath '/ images /'.10 models & gt; Product_image); }
You are already closing quotations in the echo src at the top
How should this happen:
Comments
Post a Comment