Ticket #1551 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

photo album doesn't work under apache

Reported by: tziade Assigned to: gracinet
Priority: P1 Milestone: CPS 3.4.1
Component: CPSDefault Version: 3.0.0
Severity: normal Keywords:
Cc:

Description

the preview are not resized

Change History

03/15/06 10:13:11 changed by tziade

  • owner changed from trac to tziade.
  • status changed from new to assigned.

05/16/06 15:18:59 changed by sfermigier

How can this be related to Apache ?

05/16/06 15:19:09 changed by sfermigier

  • milestone changed from CPS 3.4.1 to CPS 3.4.2.

05/17/06 14:04:25 changed by tziade

  • owner changed from tziade to gracinet.
  • status changed from assigned to new.
  • milestone changed from CPS 3.4.2 to CPS 3.4.1.

the script (getImgTag) that generates the img tag uses relative urls in this context and this calculation doesn't work when the page is called from a virtual host under apache.

this leads to unsized img tags.

05/17/06 15:41:08 changed by gracinet

  • status changed from new to closed.
  • resolution set to fixed.

Done in [45677]: getImgTag now can guess a sensible traversal under ordinary virtual hosting (the kind that rewrites http://localhost:8080/cps to http://mysite.net). It would still fail under more complex vhosting schemes, though.

[45678]: Image Gallery layout method passes image object to getImgTag directly, hence should support other vhosting schemes (not tested though)