Image-based sexual abuse (IBSA), defined as the non-consensual creation, use, and/or distribution of sexually explicit photos, is an under-researched yet common form of violence against women. Victims of this form of violence are often blamed for the abuse they endure, which influences their likelihood to seek help and recover. While in-person sex work stigma is known to increase the likelihood of negative reactions to victims, it is unknown whether women who share their own sexual images online for money are viewed in similar ways. The current study used an experimental vignette design to understand the influence of the context of IBSA, specifically related to how the original image was produced, and gender, on individuals' attributions of blame to a female victim and male perpetrator of IBSA and their empathy for the victim, while controlling for rape myth endorsement. Results showed that participants placed more blame on the victim, less blame on the perpetrator, and displayed less empathy toward the victim when she took the explicit photo herself compared to a victim whose photo was taken by someone else. Moreover, participants blamed a perpetrator of IBSA less when he had paid for access to the explicit photo on a subscription-based website and displayed lower empathy for a victim of IBSA who earned a monetary reward for their explicit photo. On average, women reported more empathy for victims of IBSA compared to men, and individuals of all genders who endorsed rape myths to a greater degree placed more blame on victims of IBSA. This study is the first step in understanding the ways in which the context of image production affects the views of victims and perpetrators of IBSA and provides important information for prevention and education efforts.