Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#21560 closed defect (bug) (invalid)

images not showing if inside a folder named advertising

Reported by: chico3001's profile chico3001 Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.4.1
Component: Themes Keywords:
Focuses: 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 12 years ago.
header
index.php (6.1 KB) - added by chico3001 12 years ago.
footer.php (3.6 KB) - added by chico3001 12 years ago.

Download all attachments as: .zip

Change History (10)

#1 @markoheijnen
12 years ago

  • 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.

#2 @dd32
12 years ago

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.

#3 @SergeyBiryukov
12 years ago

  • 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.

@chico3001
12 years ago

header

@chico3001
12 years ago

@chico3001
12 years ago

#4 @chico3001
12 years ago

  • 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>

#5 @chico3001
12 years ago

  • 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!!!

#6 @SergeyBiryukov
12 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#7 @SergeyBiryukov
12 years ago

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