Code

Opened 6 years ago

Closed 6 years ago

#6828 closed (fixed)

Broken images in Tutorial part 2

Reported by: Collin Grady <cgrady@…> Owned by: nobody
Component: *.djangoproject.com Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The images linked to from three of the smaller screenshots are PSDs instead of PNGs

Attachments (4)

admin02.png (59.7 KB) - added by Collin Grady <cgrady@…> 6 years ago.
admin03.png (70.5 KB) - added by Collin Grady <cgrady@…> 6 years ago.
admin04.png (52.8 KB) - added by Collin Grady <cgrady@…> 6 years ago.
admin01.png (5.9 KB) - added by dc 6 years ago.

Download all attachments as: .zip

Change History (12)

Changed 6 years ago by Collin Grady <cgrady@…>

Changed 6 years ago by Collin Grady <cgrady@…>

Changed 6 years ago by Collin Grady <cgrady@…>

comment:1 Changed 6 years ago by telenieko

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

It took me a while to de-encrypt the ticket but tutorials are all png files, don't see where you took .PSD from.

comment:2 Changed 6 years ago by anonymous

  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:3 Changed 6 years ago by telenieko

The fact that "file" says it's a Photoshop Image does not mean it is. File "guesses" file types (read the manpage).
And the fact that the file reads "Photoshop" in the namespace and the CreatorTool attributes does not mean nothing.

This file is an XMP powered file, XMP is some thing invented by Adobe (or W3C?) to add metadata to image files. Inside the XMP file there's the binary data of the embedded file.

Those files were generated from PHotoshop with XMP metadata.

The fact that a linux computer can *view* those images means, simply, that the binary data inside them is not PSD. But I can't assure the format as I don't know XMP.

So, the files are not PSD. You could as "please provide simple png files not embedded in xml" if you wish.

comment:4 follow-up: Changed 6 years ago by dc

"Simple png files not embedded in xml" were attached to ticket by Collin Grady (please see ticket attachments).

Read PSD file header format somewhere (e.g. "Photoshop File Parsing" section from here http://www.codeproject.com/KB/vista/PhotoshopPreviewHandler.aspx) also it might be helpful to read "Embedding XMP Metadata in
Application Files" in official XMP specification (http://partners.adobe.com/public/developer/en/xmp/sdk/XMPspecification.pdf) I hope this new and interesting information will convince you in "PSD format theory".

You have closed valid ticket anyway.

Changed 6 years ago by dc

comment:5 in reply to: ↑ 4 Changed 6 years ago by telenieko

  • Component changed from Documentation to Django Web site
  • Summary changed from 3 PSDs in tutorial part 2 to Tutorial part 2 serves XMP embedded images instead of PNG
  • Triage Stage changed from Unreviewed to Accepted

Replying to dc:

"Simple png files not embedded in xml" were attached to ticket by Collin Grady (please see ticket attachments).

I didn't see the difference between the png's until comment 2.

Thanks for the links, I'll read about XMP later ;)

You have closed valid ticket anyway.

Agree, unless this is intentional (which I doubt) so marking Accepted so somebody can fix that (jacob?)

Changing component to Django Web Site as it's on media.djangoproject.com.

comment:6 Changed 6 years ago by dc

  • Summary changed from Tutorial part 2 serves XMP embedded images instead of PNG to Broken images in Tutorial part 2

#8460 also contains fixed images

comment:7 Changed 6 years ago by jacob

Fixed in [8541].

comment:8 Changed 6 years ago by jacob

  • Resolution set to fixed
  • Status changed from reopened to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.