Opened 9 months ago

Closed 9 months ago

#21560 closed defect (bug) (invalid)

images not showing if inside a folder named advertising

Reported by: chico3001 Owned by:
Priority: normal Milestone:
Component: Themes Version: 3.4.1
Severity: minor Keywords:
Cc:

Description

Im making a new custom theme, but when i put those images inside the following path: /wordpress/wp-content/themes/mytheme/images/advertising

the image will not show up in the main page.. i had to rename the "advertising" folder to "misc" to see the image

It seems its a bug in the wp core.. not sure where or how because im pretty new developing for wp themes

Attachments (3)

header.php (8.6 KB) - added by chico3001 9 months ago.
header
index.php (6.1 KB) - added by chico3001 9 months ago.
footer.php (3.6 KB) - added by chico3001 9 months ago.

Download all attachments as: .zip

Change History (10)

  • Keywords reporter-feedback added; needs-testing needs-patch removed

Can you provide us with a code sample. I doubt this is a bug in wp core. It seems more likely it is a bug in your code.

This sound like a Browser extension such as AdBlock blocking suspected ads to me.

Please note, We have Support forums for support & Help, Trac is used for reporting confirmed bugs.

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Could be a firewall or antivirus extension as well.

As noted above, please try the support forums.

header

  • Resolution invalid deleted
  • Status changed from closed to reopened

steps to recreate:

1.- create a folder images/advertising
2.- Upload a image inside that folder
3.- change any <img>tag to point to the recently uploaded image

example:

<ul class="first-and-second-carousel jcarousel-skin-ie7">

<li><a href="javascript:;" onClick="MM_openBrWindow('http://www.thelightmakers.com',,)"><img src="<?php bloginfo('template_url'); ?>/images/advertising/partner2.gif" alt="picture" width="225" height="140" /></a></li>
<li><a href="javascript:;" onClick="MM_openBrWindow('http://www.maderaremodelingsa.com/',,)"><img src="<?php bloginfo('template_url'); ?>/images/advertising/partner3.gif" alt="picture" width="225" height="140" /></a></li>
<li><a href="contact.html"><img src="<?php bloginfo('template_url'); ?>/images/advertising/AdParners.gif" width="225" height="140" alt="picture" /></a></li>
<li><a href="javascript:;" onClick="MM_openBrWindow('http://www.guajillos.com',,)"><img src="<?php bloginfo('template_url'); ?>/images/advertising/partner1.gif" alt="picture" width="225" height="140" /></a></li>
<li><a href="javascript:;" onClick="MM_openBrWindow('http://www.delavegaespinosa.com/',,)"><img src="<?php bloginfo('template_url'); ?>/images/advertising/delavega.gif" width="225" height="140" alt="picture" /></a></li>
<li><a href="javascript:;" onClick="MM_openBrWindow('http://www.maderaremodelingsa.com',,)"><img src="<?php bloginfo('template_url'); ?>/images/advertising/partner3.gif" alt="picture" width="225" height="140" /></a></li>

</ul>

  • Resolution set to fixed
  • Status changed from reopened to closed

Mmm i didnt saw the adblock comment...

Yes you're right... ADP extension is blocking the image...

Thanks for your help anyway!!!

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Keywords reporter-feedback removed
  • Resolution set to invalid
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.