Skip to content

Test your first image

This guide shows you how to test image transformations in PixelFiddler before using them in your application. You’ll learn how to experiment with parameters, preview results, and validate your transformations work as expected.

Before you begin, make sure you have:

  • A PixelFiddler account with at least one media source configured
  • An image uploaded to your source — see Serve your first image if you haven’t done this yet

Disable transformation security for testing

Section titled “Disable transformation security for testing”

By default, all transformations are protected by a token. To test transformations directly in your browser, you need to temporarily disable this protection:

  1. Go to Sources and select your source
  2. Navigate to Security settings
  3. Set Transformations security to None

The quickest way to test transformations is directly in your browser’s address bar.

Start with your image’s base URL:

https://media.pixel-fiddler.com/{sourceAlias}/media/{imagePath}

For example:

https://media.pixel-fiddler.com/my-images/media/photo.jpg

Append a ? followed by your transformation parameters:

https://media.pixel-fiddler.com/my-images/media/photo.jpg?w=300&h=200

Press Enter and see the transformed image instantly.

Modify the URL parameters and refresh to see changes:

https://media.pixel-fiddler.com/my-images/media/photo.jpg?w=300&h=200&bl=5&q=80

Try adjusting these parameters to see how transformations affect an image:

0
Preview
<img src="https://media.pixel-fiddler.com/{sourceAlias}/media/{imagePath}?w=300&q=80&bl=0"/>

Here are some typical transformations to test:

?w=150&h=150&rm=fill&q=80

Creates a 150x150 square thumbnail with the image filling the frame.

Test different sizes for responsive breakpoints:

?w=400 // Mobile
?w=800 // Tablet
?w=1200 // Desktop
?w=600&bl=3&ct=60&sa=80

Combines resize with blur, contrast, and saturation adjustments.

  • Verify your source alias is correct
  • Check that the image path matches exactly (case-sensitive)
  • Ensure your source is properly configured and accessible
  • Check for typos in parameter names
  • Verify parameter values are within valid ranges
  • Some parameters require specific formats (e.g., colors as hex values)
  • The mode parameter affects how resizing behaves — try rm=fit, rm=fill, or rm=pad
  • Some effects are subtle at low values — increase the value to confirm it’s working

Now that you know how to test transformations: