Search help

BicicletapcBicicletapc Registered Users Posts: 68 Big grins
edited December 29, 2013 in SmugMug Customization
Finally switched to the new SM. This time of year my business is slow and seemed like a good time.

All the work on this site is for running, cycling events www.Christopher-Graphics.com and in the legacy site I was able to allow racers search for their race number and display their images. I key coded the image with the race number in PS prior to uploading. Things worked without issue.

I change to the new SM, after some testing on my own I felt it was okay to unveil the new site. I did not however test this part of the site, assumed it would take you to the correct images when searched.

When I key in a race number, say 100 the search returns images with 100 key coded, plus other images not with 100. Not a big deal in the grand scheme of things.... So I select an images WITH a 100 race number from the search results and what happens is it then takes me to the gallery of images, not the actual image.

I contacted SM support and got this reply, which does not make much sense to me.
The journal viewing style works that way unfortunately. Maybe try the SmugMug style, or one of the collage viewing styles. Those will open the photo up to a lightbox view when clicked on from the search page.

Can someone assist me in getting the search function working

Thanks
Paul
Tramps like us are born to run.
www.Christopher-Graphics.com

Comments

  • leftquarkleftquark Registered Users, Retired Mod Posts: 3,784 Many Grins
    edited December 29, 2013
    When I key in a race number, say 100 the search returns images with 100 key coded, plus other images not with 100. Not a big deal in the grand scheme of things.... So I select an images WITH a 100 race number from the search results and what happens is it then takes me to the gallery of images, not the actual image.
    Can someone assist me in getting the search function working

    You just need to customize your search content block so it only pulls from certain galleries. See the release blog here: http://news.smugmug.com/2013/10/24/release-notes-scope-your-search-adsense-content-block-organizer-filenames/?utm_campaign=ReleaseNotes&utm_medium=social&utm_source=SmugBlog&utm_content=ProductPromotion
    dGrin Afficionado
    Former SmugMug Product Team
    aaron AT aaronmphotography DOT com
    Website: http://www.aaronmphotography.com
    My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
  • thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited December 29, 2013
    So I select an images WITH a 100 race number from the search results and what happens is it then takes me to the gallery of images, not the actual image.

    When you click on an image, it shows the photo in the context of the gallery it's stored in.

    For gallery styles which show thumbnails (collage landscape, thumbnails, collage portrait), this means that the image is shown in the lightbox (full screen), and when the lightbox is closed, you see the gallery contents.

    For SmugMug style galleries, this means that the searched image will be the main image on the right side of the screen, and the gallery thumbnails will be shown on the left.

    For the journal style gallery, it flat out doesn't support showing the image that user selected. This is a feature that SmugMug should probably add.

    If you want to keep the journal style in your galleries, there is a solution to your problem. Search result pages on SmugMug are always displayed using the Thumbnails style, and clicking on a thumbnail takes you to the gallery that the photo belongs in as described above, which won't work for you. But Keyword result pages (in contrast to search result pages) are displayed using your site design's default gallery style:

    http://www.christopher-graphics.com/keyword/100

    So if you were to set your default gallery style to thumbnails, collage landscape, or collage portrait, your keyword results would be a gallery of matching image thumbnails, and clicking on an image will open it in the lightbox without going to the gallery that the image came from. Or if you like, you can keep your default gallery style set to Journal and keep the keyword page looking like the link above.

    If you then replace your search box with my Custom Site Search customisation, it will use this Keyword search display instead of the regular SmugMug site search:

    http://www.sherlockphotography.org/Customisations/Custom-site-search

    So add an HTML block to the page with this content:
    <form action="http://smugedit.com/keywordsearch/" method="get">
    	<input type="hidden" name="site" value="www.christopher-graphics.com">
    	<input type="text" name="q" style="width: 15em" class="sm-form-field sm-form-field-text-input" placeholder="search for photos...">
    	
    	<button class="sm-button sm-button-size-small sm-button-skin-accent">
    		<span class="sm-button-label">Search</span>
    	</button>
    </form>
    
  • BicicletapcBicicletapc Registered Users Posts: 68 Big grins
    edited December 29, 2013
    This is what I had it set to, which from what I am reading should work? That is if I am even in the correct place to set this up.

    A

    In case the image doesnt load here is a direct link
    http://www.christopher-graphics.com/Kress/Booth/n-T62G7/i-PVPQ27f/A

    Thanks!
    Paul
    Tramps like us are born to run.
    www.Christopher-Graphics.com
  • BicicletapcBicicletapc Registered Users Posts: 68 Big grins
    edited December 29, 2013
    I think I got it. I was in the wrong location on the customization

    Thanks
    Paul
    Tramps like us are born to run.
    www.Christopher-Graphics.com
Sign In or Register to comment.