[Booki-dev] Missing Pictures

Aleksandar Erkalovic aerkalov at gmail.com
Wed Jul 28 15:03:32 PDT 2010


hi john,

there were same changes with attachment url, and there will be some
new changes in the future (very near future). basicly,
xinha editor was rewriting url to the absolute path. i tried to fix
this but at the end decided to use different approach.

basicly, before we had url like "/<group name>/<book
name>/static/image.png". now it is "/<book name>/static/image.png".
that was all pretty bad (in case you rename book or something) and i
had to rewrite url everytime i was doing export (and it would not
always rewrite it correctly).
new change (it does not work right now on booki.cc) will force  url
for attachments to be  "static/image.png". that will fix
some issues with versioning (migrating through different versions,
different version now has different url) and export. also, it will
create some new
technical problems for me, but i will think about that later :)

so... the images like
/booki-dev-guide//booki-dev-guide/booki-user-guide/static/create.png
are
now at http://www.booki.cc/site_media/static/booki-dev-guide/ . what
you should do
is - copy them localy to your computer, and upload them again on
booki-user-guide site.
i can not just copy them on the file system right now (at least i did
not implement this feature
because this functionality changes a lot) because there are some
records for images
in the database also. sorry about that.

aco

On Wed, Jul 28, 2010 at 1:25 AM, John Curwood <info at lovinglearning.co.nz> wrote:
> Hi,
> A couple of weeks ago I sent in an email around missing images from
> certain chapters in the "Booki User Guide"
> I've recreated an image and inserted it into the "Creating A Book"
> Chapter.
> Looking at the html for the "Creating A Book" Chapter you can see that
> the path for the image Inserted today differs from the path for the
> image that is not shown.
>
> Visible Image:
> <p><img src="/booki-user-guide/static/CreatingABook-050-MyBooks.png" />
> </p>
>
> Missing Image:
> <p><img
> src="/booki-dev-guide//booki-dev-guide/booki-user-guide/static/create.png" />
> </p>
>
> I've tried changing the directory for the missing image to the Booki
> user guide directory but it still doesn't display, I've looked for the
> Booki Dev guide, which no longer exists it is just booki-dev. I've also
> looked at booki dev but can't see any images there.  Do these missing
> images still exist or have they disappeared completely.  Looking at the
> images listed when choosing to insert an image into booki gives about 20
> pictures that seem to be missing.  Can someone have a look and see if
> they can find out where they went to?
>
> If you need any more info just let me know and I will tell you what I
> can.
>
> Cheers,
>
> John.
>
> _______________________________________________
> Booki-dev mailing list
> Booki-dev at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
>



-- 
 http://www.binarni.net/



More information about the Booki-dev mailing list