I insert the image thru the backend WYSIWYG but when I publish it, I don't see the image. Am I missing something? Thank you.
I have the same problem.. help us please.
<img src="<?php print base_path() . drupal_get_path('theme', 'corporateclean') ;?>/mockup/seo.png" style="float:left; padding:0 10px 0 0;"/>
this is just not working at all.. help me before i die. ;)
Hello uggas, The following declaration works only in PHP format and is dynamic solution for image path (Clean urls or not).
<?php print base_path() . drupal_get_path('theme', 'corporateclean') ;?>/mockup/seo.png" />
In any case, you can use your absolute image path. For example http://YOURDOMAIN/sites/all/themes/corporateclean/mockup/seo.png
Is your Drupal installation online in order to give you directly the right path?
Thanks /George
Hey, hey.. i got the solution just after i post my prev post. This topic is the same with 1 of the post from the past. Thanks anyway gtsopour. It's the PHP filter thingy!
Is this corrected in the latest version? Let us know if not. Closing for now.
Comments
Comment #1
uggas commentedI have the same problem.. help us please.
<img src="<?php print base_path() . drupal_get_path('theme', 'corporateclean') ;?>/mockup/seo.png" style="float:left; padding:0 10px 0 0;"/>this is just not working at all.. help me before i die. ;)
Comment #2
gtsopour commentedHello uggas,
The following declaration works only in PHP format and is dynamic solution for image path (Clean urls or not).
<?php print base_path() . drupal_get_path('theme', 'corporateclean') ;?>/mockup/seo.png" />In any case, you can use your absolute image path. For example
http://YOURDOMAIN/sites/all/themes/corporateclean/mockup/seo.png
Is your Drupal installation online in order to give you directly the right path?
Thanks
/George
Comment #3
uggas commentedHey, hey.. i got the solution just after i post my prev post. This topic is the same with 1 of the post from the past. Thanks anyway gtsopour. It's the PHP filter thingy!
Comment #4
alexandreracine commentedIs this corrected in the latest version? Let us know if not. Closing for now.