Re: The PhDMediaManager class.
| From: | Richard Quadling | Date: | Wed, 11 Feb 2009 13:38:35 +0000 |
| Subject: | Re: The PhDMediaManager class. | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969380138@lists.php.net to get a copy of this message | ||
2009/2/11 Christian Weiske <cweiske@cweiske.de>:
> Richard,
>
>
>> >> I see you've introduced the PhDMediaManager class. This is currently
>> >> breaking the links to the existing images.
>> >>
>> >> Is this a "work in progress"? Currently it is breaking the image links
>> >> in the builds.
>> > All images have to be referenced relative to the manual.xml file as of now :)
>> > That won't change.
>> OK. But this class is breaking the links. They all now have an MD5
>> hash in the html/php output and are not copied to the correct location
>> (actually not copied at all).
>
> They are not copied because they are referenced wrongly now in the manual itself. Their fileref
> needs to be relative to the manual.xml location.
>
>
> --
> Regards/Mit freundlichen Grüßen
> Christian Weiske
>
Aha! Just for those at the back (ahem), that means whereas it is currently ....
figures/imagick.hello_world.png
this would become
en/reference/imagick/figures/hello_world.png
That makes sense.
Especially if a translator needs to change the image (say it contains
words or whatever), they would also "translate" the fileref to ...
lang-x/reference/imagick/figures/hello_world.png
There are just over 40 images at the moment. I'll test this out and
make the necessary changes.
OOI. Is there a reason to add an md5 hash to the filename?
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"