[wp-testers] WP 2.5 RC1 - Galllery / Permalinks for images

Aaron Harun admin at anthologyoi.com
Wed Mar 19 17:24:00 GMT 2008


I had a similar problem with images on pages.

WP would give me an error went I would try to go to the pretty image
URL. I'm assuming it has something to do with the Rewrite rules
getting confused with the image subpages and the real subpages.

On 3/18/08, Nick Bohle <mail at nickbohle.de> wrote:
> I tried to create an image gallery today. Uploading the images, inserting
>  the [gallery] into the post, etc.  My first impression was: fast, easy to
>  use, great new feature.
>
>  But then, when I looked at the new gallery (thumbnails were displayed
>  correctly), I had to realize that the (perma)links to the images are broken.
>  Clicking on an image returned an 404 Not Found error message.
>
>  <a href='http://localhost/wordpress/uncategorized/test-gallery/garden001/'
>  title='garden001'><img
>  src="http://localhost/wordpress/wp-content/uploads/2008/03/garden001-150x150
>  .jpg" width="150" height="150" class="attachment-thumbnail" /></a>
>
>  After deactivating all plug-ins, the error persisted. Therefore, I thought
>  that it could have something to do with the permalink structure. So I
>  changed my "pretty" customized permalinks from /%category%/%postname%/ to
>  the "ugly" version /?p=123.
>
>  The result proved me right. The gallery was working fine with the "ugly"
>  permalink structure:
>
>  <a href='http://localhost/wordpress/?attachment_id=280'
>  title='garden001'><img
>  src="http://localhost/wordpress/wp-content/uploads/2008/03/garden001-150x150
>  .jpg" width="150" height="150" class="attachment-thumbnail" /></a>
>
>  Any ideas why the "pretty" permalinks do not work? The images are uploaded
>  into /wp-content/uploads/YEAR/MONTH.
>
>  _______________________________________________
>  wp-testers mailing list
>  wp-testers at lists.automattic.com
>  http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list