Relative paths to photos

Categorized As:

On pages like this one, the images aren't showing up because it looks like the path to each is being set relative to the page, creating a broken file path. (The images that do show up on this page have an absolute URL offsite.)

That whole page isn't right. Scroll down and you'll notice there are multiple patterns on one page (which is not right). You need to take out the meta categories. The pattern itself is fine if you access it by clicking on "skirts + dresses" first... not by clicking on garments first.

This is where the pattern lives (with the images showing correctly): 

http://beta.crochetme.com/cme/jolly-rancher

Submitted by emmajane on 23 August 2007 - 5:27pm.

There are multiple patterns on the page b/c I clicked one of the categories at the top of the Jolly Rancher skirt pattern. This is the resulting page. The display is the same if I click on the "garments" link. This is how the taxonomy module renders these pages?

Submitted by Kim Werker on 23 August 2007 - 5:32pm.

More issues with image paths. See, for example: http://beta.crochetme.com/cme/Feb_Mar_2005/patt_baby_sweater.html

Submitted by Kim Werker on 23 August 2007 - 6:14pm.

It is how the taxonomy module renders those pages. I guess I'll have to write something custom to redo all of those links... 

The baby sweater is a problem with the url alias (the url has the date in it, and the image src also has the date in it---which results in two dates being in the URL for the image src). Check to see what the corresponding page is on the live site? This *may* be because the beta site is running out of a sub-directory. I can't wrap my head around it right now though.

Submitted by emmajane on 23 August 2007 - 6:38pm.

Or if you have time... you can make new aliases so that those category links actually point to the links that are on: http://beta.crochetme.com/cme/patterns

Submitted by emmajane on 23 August 2007 - 6:39pm.

I definitely have to work on taxonomy.

But the date in the URL is from back when Cme was published bimonthly -- all the back issues up to when I started using Drupal have the date in the URL; we imported them into "path alias" when I switched to Drupal so links net-wide wouldn't be broken. So those URLs can't change. 

Submitted by Kim Werker on 24 August 2007 - 7:44am.

The date-based URLs won't change... but we do have to get rid of the "cme" sub-directory... I can make the move today if you have the time to update the template to take out all references to "cme"...

Submitted by emmajane on 24 August 2007 - 7:48am.

Can do. Let me know about when; I'll be unplugging a bit to do a massive push on assigning the spring issue of the mag, and I'll plan around.

Submitted by Kim Werker on 24 August 2007 - 7:50am.

Pretty much whenever works for me. It *should* just be a matter of saying:

cp -pr cme/* .

i.e. copy everything recursively (while maintaining permissions) from that directory into this one.

Submitted by emmajane on 24 August 2007 - 7:53am.

Wanna do it now? I won't start doing mag work for another hour. I'll stop fiddling with CSS and will work on changing any URLs in the template pages. Fire me a note when you're ready for me to upload the corrected files.

Submitted by Kim Werker on 24 August 2007 - 8:06am.

done... you need to also add the base href that I mentioned in my email if you haven't already...

Submitted by emmajane on 24 August 2007 - 9:28am.

Is it added above the doctype?

Submitted by Kim Werker on 24 August 2007 - 9:47am.

Check your email. ;)

Submitted by emmajane on 24 August 2007 - 9:56am.

User login