WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] plugin creation - SVN - how to make screenshots show? (8 posts)

  1. mores
    Member
    Posted 6 years ago #

    I wrote my first plugin, and spent a few hours figuring out the SVN thing.

    Anyhow, I think I took all the necessary steps to get the files up and "link" to them in the readme.txt
    (http://svn.wp-plugins.org/easypermgals/tags/1.2/)

    So how come my screenshots won't show? Help would be appreciated

  2. Olav Kolbu
    Member
    Posted 6 years ago #

    Have you tried running your readme through the readme validator? By the looks of your Other Notes-content it appears the readme-parser is confused.

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    I notice in your SVN that your screenshots are in the /tags/1.2 directory, but not in the trunk directory as well. I'm not certain if that is the problem, but you might try keeping a copy of the shots in the trunk too. Ideally, to make a new tagged version, you simply make a copy of the entire contents of trunk at the time. So whatever is in trunk should be a complete copy of the setup as well, shots and all.

    Also, for screenshots, I recommend using PNG format instead of JPG. Smaller files and they produce better quality for screenshots.

  4. mores
    Member
    Posted 6 years ago #

    @olav ... the only thing the validator complained about was the missing FAQ section. Which is ok, I have no FAQs.
    But maybe it's an issue with the order in which the items appear. Maybe I need to add empty FAQs so that the screenshots section is correctly recognized.

    @otto ... the problem is that I don't understand the SVN properly.
    Also, using a mac with svnX is a pain, I need to delete files in the online SNV so I can upload a newer version.
    I'll try putting a duplicates in the trunc folder.
    PNGs are not smaller, JPG compresses better, at least the filesize is a lot bigger when I save-as PNG where JPG would suffice. I use PNG only when I need 24bit transparency.
    Come to think of it, all theme-screenshots are PNGs ... So I may be mistaken and will add PNGs.

    Thanks for the hints, guys.

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    the problem is that I don't understand the SVN properly.

    What about it don't you understand? We can try to help.

    I can't help you with your Mac issues, though, except to suggest that perhaps the command line svn might be simpler? Generally speaking, with SVN, you have a local copy on your system and you change it as you see fit, then you commit all the changes at once. No deleting of anything online, you're not editing things online. You edit them offline and then synchronize with the SVN repository.

    PNGs are not smaller, JPG compresses better, at least the filesize is a lot bigger when I save-as PNG where JPG would suffice. I use PNG only when I need 24bit transparency.

    PNGs should be much, much smaller for screenshots, because PNG is good at compressing large blocks of single colors. But for photographs, you are correct, JPG is better.

  6. mores
    Member
    Posted 6 years ago #

    What about it don't you understand? We can try to help.

    I can't help you with your Mac issues, though, except to suggest that perhaps the command line svn might be simpler?

    Yes, it must be a mac-issue, since in theory the SVN is dead simple.
    But, command line on the Mac gives me a "bad command or filename" ;), and when I install SvnX I can't "sync". But that's a program issue, I guess I need to see how to use the program correctly.

    Or maybe I just look for a SVN program that runs in the terminal window?

    Dunno. Thanks for the help, I'll try all your suggestions and once I get it all going, I'll post back here :)

    Good night for now

    EDIT: ha! Cheggidout! It WAS the missing screenshots in the trunk folder. Interesting.

  7. deuced
    Member
    Posted 6 years ago #

    Hey mores, what is displayed in all sections of your plugin is ONLY what's INSIDE the trunk. Tags folders is used to have a history and keeping older or development versions accessible by clicking the "other versions" link. So each time you upload a new release you overwrite (changed) files in the trunk and also make a new tag folder with the new release.

  8. mores
    Member
    Posted 6 years ago #

    Thanks deuced, that makes sense!
    But this bit in the default-readme made me think I need to work in the tags folder:

    Note that the readme.txt of the stable tag is the one that is considered the defining one for the plugin, so
    if the /trunk/readme.txt file says that the stable tag is 4.3, then it is /tags/4.3/readme.txt that'll be used
    for displaying information about the plugin. In this situation, the only thing considered from the trunk readme.txt
    is the stable tag pointer.

    Anyhow, I sort of get the hang of it, and I'm grateful for your great support.
    WordPress rules :)

Topic Closed

This topic has been closed to new replies.

About this Topic