WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Gallery feature (21 posts)

  1. warpdesign
    Member
    Posted 1 year ago #

    Hi,
    I'm having some issues with the gallery feature in the media uploader. I think this is a new feature with the newer versions of wordpress and the theme I have (which is custom) doesn't know how to handle this content? Basically when I add a gallery to the site it just looks like a bunch of square thumbnails on the page strung together and clicking the image takes me to an unstyled post that just contains the image itself? I'm not sure how this feature is supposed to work or what steps I would need to take to update the theme to handle this type of content. Is there a tutorial or documentation or is there something else that is the issue with this?

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It sounds like it might just be a question of the CSS styling the galleries or lack thereof. If you can post a link to a page as you've described, someone can look at it and give you a better idea.

  3. warpdesign
    Member
    Posted 1 year ago #

    I can try and post a link if you really need to see it but the page isn't live at the moment since it's broken. If there is an example page of how this feature is supposed to work then I'm sure I could update the CSS and/or JS to handle this type of content but since I have no experience with it I'm not really sure how it's meant to work.

  4. jenngood
    Member
    Posted 1 year ago #

    I am having somewhat of the same issue. It seems to me that my galleries were scrollable or could be clicked to show the next or previous picture within the gallery. This isn't happening on the website below. Someone else made the theme. I'm wondering if that is the problem.

    http://completelaserclinic.com/media/before-and-after-pics/

    Thanks - Jennifer

  5. warpdesign
    Member
    Posted 1 year ago #

    I found a few examples of gallery implementation in the live demo of some themes from another post on here, they all seem to pretty much work the same way:
    http://rustygrungedemo.wordpress.com/2008/04/01/simple-gallery-test/

    Is this the only way the gallery type of post can be implemented? I can use this as an example of how to update my site's theme to handle this type of WP content but I'd love to see some other examples.

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @jenngood - if you need help, you need to start your own thread. You do not have the same question and it is rude to hijack someone else's thread.

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @warpdesign - that post is quite outdated, so probably not the best reference. You could try activating twentytwelve and creating a gallery and looking at the code. This might also be helpful:

    http://codex.wordpress.org/Gallery_Shortcode

  8. warpdesign
    Member
    Posted 1 year ago #

    Thanks for the link. CSS is not a problem for me at all, but it appears (at least from the outdated example) that there is JS involved as well. Or at least there could be depending on how you want it to work: lightbox style overlay, scrolling left and right, etc. That I can definitely adapt working from an example but I'm not skilled enough to do that totally from scratch.

    I'll take a look at the newest default theme as you suggest and use that as a starting point. If anyone else has any good examples of the the WP gallery that people have done I'd love to get some ideas of what is possible to do with it!

  9. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Yep, there are various pieces to attend to - this may be helpful in what's new in WP3.5 as well:

    http://codex.wordpress.org/Version_3.5

  10. jenngood
    Member
    Posted 1 year ago #

    So sorry to be rude and hijack someone else's post. My mistake, I thought it was the same problem maybe. If I understood what was wrong, I wouldn't have had to make the post. I have seen other people chime in that they are having the same issues. I thought this was the place to do it. I have also read NOT to start another post when someone has already started one. So sorry once again.

  11. jenngood
    Member
    Posted 1 year ago #

    And actually, my question is exactly the same as warp design's first post.

  12. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    @jenngood

    please start your own topic. (full stop)

    your question is different - @warpdesign is not talking about scrolling or next/prev...

    of course, nobody can stop you from reading what is going on in this topic, however you will not get any answers here, addressing your particular question.

  13. Auvergnestudios
    Member
    Posted 1 year ago #

    Okay, I am not a GURU on WP, but was quite bothered by this: A week ago I was able to easily look at one of my galleries, clicking on it, and having my images appear. I was able to add more images and delete others; Thrilling. A few days later I had more images to add; I must have tried the same routine 30 times, just as I had done the week before: NADA, it would not bring up my images. And yes, I can no longer add more pics; All I can do, as someone else just said, was to "Add media." What happened in just one week?

  14. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @Auvergnestudios - Please read the above post by alchymyth - the same applies to you: start your own thread.

  15. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    @Auvergnestudios: Did you read the previous posts? As per the Forum Welcome, please post your own topic.

  16. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    @Auvergnestudios

    please start your own topic -

    your problem is totally unrelated to what was asked here.

  17. Auvergnestudios
    Member
    Posted 1 year ago #

    Should I be starting a new topic as well? I am new to Forums. Help is appreciated, alchymyth. thx.

  18. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    @Auvergnestudios

    Should I be starting a new topic as well?

    I really think you should... ;-)

  19. warpdesign
    Member
    Posted 1 year ago #

    fixed it. Thanks.

  20. dragonsjaw
    Member
    Posted 1 year ago #

    @warpdesign
    Glad to see this was fixed. Mind sharing your solution so others on the forum can benefit?

  21. warpdesign
    Member
    Posted 1 year ago #

    Kind of a hacky fix:

    Using the default WP theme (twentytwelve), first I went through the css of it and did a search for any styles with the word 'gallery' in it then copied those styles into my theme's CSS. Then I did a find for the word 'gallery' throughout all the theme's files and by doing that identified that the file image.php in my theme was out of date so I renamed it image-old.php and then just copied image.php from the default WP theme into my theme directory. Then went and looked at my site and that fixed about 80% of the issue, the rest was just personal preference in CSS styling and ultimately the behavior of the gallery using javascript which I played around with some plugins till I got what I wanted.

Topic Closed

This topic has been closed to new replies.

About this Topic