Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 652

Denotes questions related to imports

3 votes
2 answers
4k views

Programmatically Set/Change Thumbnail Image To Another From Gallery

I am thinking that there is more potential in method 1 as I do not want to import or create a new image in the gallery, but I'm not sure what I'm doing wrong. …
James's user avatar
  • 458
0 votes
Accepted

Programmatically Set/Change Thumbnail Image To Another From Gallery

My Solution was this for anyone else looking... foreach ($gallery as $image){ $cameraAngle = str_replace(".jpg","",explode("_",$image->getUrl())); if (strtolower($cameraAngle[1]) …
James's user avatar
  • 458