+Equipo Geocaching.es Posted August 29, 2005 Share Posted August 29, 2005 (edited) Anyway of linking directly to an user image gallery or stats? I have tried: http://www.geocaching.com/profile/Default....btnGallery.y=23 http://www.geocaching.com/profile/Default....btnGallery.y=23 http://www.geocaching.com/profile/Default....btnGallery_y=23 ... but none of them seems to be ok.. (I allways get the user profile page) Any trick? Edited August 29, 2005 by Equipo Geocaching Hispano Link to comment
+Miragee Posted August 29, 2005 Share Posted August 29, 2005 (edited) If you go to one of the pictures and right click on it, one of the choices is "Copy Image Address" (or something like that depending on your broswer) Then you can link to it using HTML, or you can post it here using the Image tags, like this: EDIT since my answer was apparently incorrect . . . Edited August 30, 2005 by Miragee Link to comment
+Equipo Geocaching.es Posted August 30, 2005 Author Share Posted August 30, 2005 If you go to one of the pictures and right click on it, one of the choices is "Copy Image Address" (or something like that depending on your broswer)................ I dont want to save the files... I will explain with and example. If you go to Jeremy's profile ( http://www.geocaching.com/profile/Default....08-b6107967ff29 ) in the top you can see 2 links. One to him stats and another to him photo gallery.. if we click in the "gallery" button we can see him gallery.. Now at the gallery if you "Add this page to Favorites" you will see that when you click on that "favorite" you go to Jeremys profile and not to him gallery... I know that this is because a post variable of the form that isn't saved in the address: <input type="image" name="ProfilePanel1:btnGallery" id="ProfilePanel1_btnGallery" src="../images/tabs/gallery_off.gif" alt="Gallery" border="0" style="height:26px;width:60px;" /> In php is "easy" to bypass this simulating a click on the button with something like this: http://www.geocaching.com/profile/Default.aspx?guid=51214b3d-6777-4c99-9508-b6107967ff29&ProfilePanel1:btnGallery_x=1 But I am trying it here (ASPDOTNET) and i have no result .... and i am asking if someone nows the solution Link to comment
+Equipo Geocaching.es Posted August 30, 2005 Author Share Posted August 30, 2005 I solve it Thanks for all Link to comment
+Marky Posted August 30, 2005 Share Posted August 30, 2005 I solve it Thanks for all Want to share the solution with us? Link to comment
+Equipo Geocaching.es Posted August 30, 2005 Author Share Posted August 30, 2005 (edited) Want to share the solution with us? Uff... hard to explain (I am spanish an my english is @#€@) but I will try: we want this page: http://www.geocaching.com/profile/Default.aspx?guid=51214b3d-6777-4c99-9508-b6107967ff29 but not the profile.. the gallery (or stats) so we add some POST variables (i havent try it with GET): 1- ProfilePanel1%3AbtnGallery.y (=== ProfilePanel1:btnGallery.y) 2- ProfilePanel1%3AbtnGallery.x (=== ProfilePanel1:btnGallery.x) 3- __VIEWSTATE The 1st 2nd will simulate a click on the btnGallery. The 3rd seens to be necesary for asp.net .. I though that viewstate only contains the status of the forms but perhaps have something else in. (you can decode it from base64 if u are curious) Ok. Now the way we ask to the server for the url with this POST variables.. __VIEWSTATE=**********************&ProfilePanel1%3AbtnGallery.x=48&ProfilePanel1%3AbtnGallery.y=14 To make this example run get your oun viewstate from the source code of geocaching user gallery page.. it seems to work but i am still working on it.. Edited August 30, 2005 by Equipo Geocaching Hispano Link to comment
+Marky Posted August 30, 2005 Share Posted August 30, 2005 Want to share the solution with us? To make this example run get your oun viewstate from the source code of geocaching user gallery page.. it seems to work but i am still working on it.. Okay, I understand that method. Not exactly a straightforward solution, but it will work. It would be nice is there was an easy way to do this by passing in a simple parameter in the URL. --Marky Link to comment
Recommended Posts