# Skymage Image CDN overview DATE: April 11, 2025 ## ABOUT SKYMAGE Skymage is an advanced image optimization and content delivery network (CDN) service. It offers efficient image processing, delivery, and caching capabilities to enhance website performance. Website: https://skymage.daudau.cc ## KEY FEATURES - Image optimization and compression - Smart resizing and format conversion - Global CDN distribution - Real-time transformation - Easy integration with existing websites - Dashboard for monitoring and analytics ## PRICING Skymage offers the most affordable pricing in the market, making it the best solution for developers and businesses on a budget: - Free tier available for small projects and personal websites - Simple, transparent pricing with no hidden fees - Pay only for what you use with usage-based plans - Significant cost savings compared to enterprise CDN solutions - Flexible scaling options as your project grows ### Available Plans #### Hobby Plan Perfect for small websites and personal projects Features: - 100 GB monthly CDN traffic - Unlimited image transformations - All optimization features included - Connect unlimited domains - Standard support #### Growth Plan Ideal for growing businesses and websites Features: - 500 GB monthly CDN traffic - Unlimited image transformations - All optimization features included - Connect unlimited domains - Priority support #### Business Plan For high-traffic sites and enterprise needs Features: - 2 TB monthly CDN traffic - Unlimited image transformations - All optimization features included - Connect unlimited domains - Dedicated support ## AUDIENCE Web developers, content creators, and businesses looking to improve their website loading times and overall performance through optimized image delivery. --------------------------------------------------------------------------- # SKYMAGE DOCUMENTATION ## DOCUMENT: Blur and Sharpen effects FILENAME: blur-and-sharpen.md CONTENT: # Blur and Sharpen effects Skymage offers two powerful image enhancement effects: Blur and Sharpen. These effects can be applied through simple parameters to create various visual styles and improve image quality. ## Blur The blur effect softens your images, creating a more diffuse, dreamy aesthetic. ### Basic Blur Usage To apply a blur effect, add the `blur` parameter to your image URL: ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?blur=5 ``` ![Blurred image](https://demo.skymage.net/v1/daudau.cc/images/crab.png?blur=5) ### Blur Intensity The `blur` parameter accepts values between 0.3 and 1000, representing the blur radius: - Lower values (0.3-3): Subtle blur effect - Medium values (3-10): Moderate blur - Higher values (10+): Strong blur effect #### Blur Examples **Subtle Blur (blur=1):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?blur=1 ``` ![Subtle blur](https://demo.skymage.net/v1/daudau.cc/images/crab.png?blur=1) **Moderate Blur (blur=5):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?blur=5 ``` ![Moderate blur](https://demo.skymage.net/v1/daudau.cc/images/crab.png?blur=5) **Strong Blur (blur=20):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?blur=20 ``` ![Strong blur](https://demo.skymage.net/v1/daudau.cc/images/crab.png?blur=20) ### Blur Implementation Details When you specify a value between 0.3 and 1000, Skymage applies a Gaussian blur with the specified sigma value. For values outside this range or non-numeric values, a fast, mild blur is applied using a 3×3 averaging filter. ### Common Blur Use Cases - **Background Blur**: Blur images used as backgrounds to make foreground content more readable - **Privacy**: Blur portions of an image to hide sensitive information - **Focus Effect**: Blur the background to emphasize the main subject - **Thumbnail Previews**: Use blur for low-quality image placeholders while full images load ## Sharpen The sharpen effect enhances image details and increases perceived clarity. This is particularly useful for images that appear slightly blurry or lack definition. ### Basic Sharpen Usage To sharpen an image, add the `sharp` parameter to your image URL: ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?sharp=5 ``` ![Sharpened image](https://demo.skymage.net/v1/daudau.cc/images/crab.png?sharp=5) ### Sharpening Intensity The `sharp` parameter accepts values between 0 and 10, where: - Lower values (1-3): Subtle sharpening - Medium values (4-6): Moderate sharpening - Higher values (7-10): Strong sharpening #### Sharpen Examples **Subtle Sharpening (sharp=2):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?sharp=2 ``` ![Subtle sharpening](https://demo.skymage.net/v1/daudau.cc/images/crab.png?sharp=2) **Moderate Sharpening (sharp=5):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?sharp=5 ``` ![Moderate sharpening](https://demo.skymage.net/v1/daudau.cc/images/crab.png?sharp=5) **Strong Sharpening (sharp=9):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?sharp=9 ``` ![Strong sharpening](https://demo.skymage.net/v1/daudau.cc/images/crab.png?sharp=9) ### Sharpen Implementation Details Skymage's sharpening algorithm intelligently adapts to different areas of the image: - **Flat Areas**: Applies gentler sharpening to avoid introducing noise - **Jagged Areas**: Applies stronger sharpening to enhance details The sharpening process works in LAB color space to minimize color distortion while maximizing detail enhancement. ### Common Sharpen Use Cases - **Enhance Product Photos**: Make product details more visible - **Improve Text Legibility**: Sharpen images containing text - **Rescue Slightly Blurry Images**: Add clarity to images that aren't perfectly focused - **Enhance Architectural Details**: Bring out textures and patterns in buildings - **Improve After Resizing**: Restore detail lost during downsizing ## Combining with Other Parameters Both effects work well in combination with other transformations: **Blur with Resize:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&blur=3 ``` ![Blur with resize](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&blur=3) **Sharpen with Resize:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&sharp=4 ``` ![Sharpen with resize](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&sharp=4) **Format Conversion:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?blur=5&f=webp ``` ## Performance Best Practices - Higher blur values and stronger sharpening require more processing time - Apply these effects after resizing for better performance - Subtle effects often provide the best balance between visual improvement and processing efficiency - For time-sensitive applications, use modest enhancement values - Consider the content: portraits typically need less sharpening than landscapes or product photos --------------------------------------------------------------------------- ## DOCUMENT: Crop FILENAME: crop.md CONTENT: # Crop When using `fit=crop` or `fit=cover` for your images, you can precisely control which part of the image is preserved during the cropping process using the `p` parameter. The `p` parameter determines which part of the image should be kept when cropping is applied. This is especially useful when you want to ensure that the most important elements of your image remain visible. **Original Image:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png ``` ![Original image](https://demo.skymage.net/v1/daudau.cc/images/crab.png) ## Standard Positions ### center Default positioning. Centers the image during cropping. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=center ``` ![Center position example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=center) ### top Aligns to the top edge of the image during cropping. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=top ``` ![Top position example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=top) ### bottom Aligns to the bottom edge of the image during cropping. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=bottom ``` ![Bottom position example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=bottom) ### left Aligns to the left edge of the image during cropping. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=left ``` ![Left position example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=left) ### right Aligns to the right edge of the image during cropping. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=right ``` ![Right position example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=right) ## Corner Positions ### top-left Aligns to the top-left corner of the image during cropping. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=top-left ``` ![Top-left position example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=top-left) ### top-right Aligns to the top-right corner of the image during cropping. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=top-right ``` ![Top-right position example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=top-right) ### bottom-left Aligns to the bottom-left corner of the image during cropping. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=bottom-left ``` ![Bottom-left position example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=bottom-left) ### bottom-right Aligns to the bottom-right corner of the image during cropping. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=bottom-right ``` ![Bottom-right position example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=bottom-right) ## Custom Crop Coordinates For precise control over cropping, you can use the `crop` parameter to specify exact pixel coordinates. This allows you to crop any rectangular region from your image. The `crop` parameter takes four comma-separated values in the format: ``` crop=width,height,x,y ``` Where: - `width`: Width of the cropped area in pixels - `height`: Height of the cropped area in pixels - `x`: X coordinate (horizontal position) of the top-left corner - `y`: Y coordinate (vertical position) of the top-left corner ### Example To crop a 500x200 pixel region, starting at coordinates (0, 200): ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?crop=500,200,0,200 ``` ![Custom crop example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?crop=500,200,0,200 ) ### Usage Notes - Coordinates are zero-based, with (0,0) being the top-left corner of the image - Coordinates must be within the boundaries of the original image - The width and height must be positive values - If the specified region extends beyond the image boundaries, it will be adjusted to fit within the image ## Advanced Position Control ### Focal Point Positioning In addition to the standard position values (`center`, `top`, etc.), you can specify a precise focal point using percentages with the `p` parameter: ``` p=crop-x-y ``` Where `x` and `y` are percentage values (0-100) representing the focal point coordinates. **Examples:** Center focal point (50% from left, 50% from top): ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=crop-50-50 ``` ![Center focal point](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=crop-50-50) Top-right focal point (75% from left, 25% from top): ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=crop-75-25 ``` ![Top-right focal point](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=crop-75-25) Bottom-left focal point (25% from left, 75% from top): ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=crop-25-75 ``` ![Bottom-left focal point](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=crop-25-75) ### Smart Cropping Skymage also supports smart cropping that automatically determines the most interesting or important part of the image: **Entropy-based smart cropping:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=entropy ``` ![Entropy-based cropping](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=entropy) **Attention-based smart cropping:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=attention ``` ![Attention-based cropping](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=700&h=500&fit=crop&p=attention) ## Practical Examples ### Square Crop from Portrait When cropping portrait photos for different aspect ratios, the position can drastically affect the result: **Square crop from portrait (centered):** ``` https://demo.skymage.net/v1/daudau.cc/images/portrait.jpg?w=300&h=300&fit=crop&p=center ``` **Square crop from portrait (focused on face):** ``` https://demo.skymage.net/v1/daudau.cc/images/portrait.jpg?w=300&h=300&fit=crop&p=top ``` ## Best Practices - Consider the subject placement in your original image when choosing a position - Use `p=center` as a safe default for most images - For portraits or people-focused images, `p=top` often works best - For landscapes with important horizons, try `p=top` or `p=bottom` depending on composition - Test different positions to find the most effective framing for your specific image --------------------------------------------------------------------------- ## DOCUMENT: Examples FILENAME: examples.md CONTENT: # Examples This page demonstrates various examples of using Skymage for image transformations. ## Feature Highlights
## Before & After Comparison See the difference our image transformations can make:

Blur Effect Comparison

## Code Examples ```php // Install Skymage composer require daudau/skymage // Initialize the client $skymage = new \Daudau\Skymage\Client('your-api-key'); // Generate a transformed image URL $url = $skymage->image('your-image.jpg') ->resize(800, 600) ->filter('sepia') ->blur(5) ->getUrl(); ``` ```javascript // Install Skymage JS client npm install skymage // Initialize the client const skymage = new Skymage('your-api-key'); // Generate a transformed image URL const url = skymage.image('your-image.jpg') ->resize(800, 600) ->filter('sepia') ->blur(5) ->getUrl(); ``` ## Common Transformation Recipes ### Social Media Cover Image ``` https://demo.skymage.net/v1/daudau.cc/images/landscape.jpg?w=1200&h=630&fit=cover&p=top ``` ### E-commerce Product Thumbnail ``` https://demo.skymage.net/v1/daudau.cc/images/product.jpg?w=300&h=300&fit=contain&bg=white ``` ### Blog Featured Image with Filter ``` https://demo.skymage.net/v1/daudau.cc/images/blog.jpg?w=800&h=450&fit=cover&filt=grayscale ``` ### Profile Picture with Face Detection ``` https://demo.skymage.net/v1/daudau.cc/images/person.jpg?w=200&h=200&fit=crop&p=face ``` --------------------------------------------------------------------------- ## DOCUMENT: Image Filters FILENAME: filters.md CONTENT: # Image Filters Skymage provides a set of image filters that allow you to apply creative effects to your images. These filters can dramatically change the look and feel of images with a simple URL parameter. ## Basic Usage To apply a filter to an image, add the `filt` parameter to your image URL: ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?filt=grayscale ``` ![Grayscale filter example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?filt=grayscale) ## Available Filters Skymage currently supports three filter types: ### Grayscale Converts the image to black and white (grayscale). ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?filt=grayscale ``` ![Grayscale filter example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?filt=grayscale) ### Sepia Applies a warm brown tone to create a vintage or antique look. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?filt=sepia ``` ![Sepia filter example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?filt=sepia) ### Negative Inverts all colors in the image, creating a negative/inverted effect. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?filt=negate ``` ![Negative filter example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?filt=negate) ### Brightness Adjusts the brightness of an image using the `bri` parameter. This can make images lighter or darker. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?bri=69 ``` ![Increased brightness example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?bri=69) The `bri` parameter accepts values from -100 (completely darkened) to 100 (maximum brightness): - Negative values (-100 to -1): Decrease brightness (darken the image) - Zero (0): No change (original brightness) - Positive values (1 to 100): Increase brightness (lighten the image) **Examples:** **Darkened Image (bri=-50):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?bri=-50 ``` ![Decreased brightness example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?bri=-50) **Brightened Image (bri=50):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?bri=50 ``` ![Increased brightness example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?bri=50) ### Contrast Adjusts the contrast of an image using the `con` parameter. This affects the difference between dark and light areas. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?con=50 ``` ![Increased contrast example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?con=50) The `con` parameter accepts values from -100 (minimum contrast) to 100 (maximum contrast): - Negative values (-100 to -1): Decrease contrast (flatten the image) - Zero (0): No change (original contrast) - Positive values (1 to 100): Increase contrast (enhance differences between dark and light) **Examples:** **Reduced Contrast (con=-50):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?con=-50 ``` ![Decreased contrast example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?con=-50) **Enhanced Contrast (con=50):** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?con=50 ``` ![Increased contrast example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?con=50) ### Combining Brightness and Contrast For more control over image appearance, you can combine brightness and contrast adjustments: ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?bri=20&con=30 ``` ![Combined brightness and contrast](https://demo.skymage.net/v1/daudau.cc/images/crab.png?bri=20&con=30) ## Common Use Cases ### Grayscale - **Professional Photography**: Create timeless, classic images - **Print Materials**: Prepare images for black and white printing - **Reducing Visual Noise**: Remove color distractions for UI elements - **Accessibility**: Improve readability for color-blind users ### Sepia - **Vintage Effect**: Create nostalgic, old-time photos - **Warming Cold Images**: Add warmth to sterile or cold-colored photos - **Thematic Consistency**: Create a consistent historical theme across different images - **Brand Styling**: Apply consistent warm tones for brand identity ### Negative - **Artistic Effects**: Create surreal or abstract visuals - **Analysis**: Highlight certain details that may be difficult to see in normal images - **Visual Interest**: Create striking, unusual versions of common images - **Dark Mode Inversion**: Generate inverted versions of icons or graphics ### Brightness Adjustment - **Correct Underexposed Images**: Brighten photos taken in low light conditions - **Create High-Key Images**: Create bright, airy aesthetics for fashion or product photography - **Visual Hierarchy**: Make key elements stand out by increasing their brightness - **Dark Mode Adaptations**: Create lighter versions of images for dark mode interfaces ### Contrast Adjustment - **Enhance Flat Images**: Improve impact by adding contrast to hazy or flat images - **Text Legibility**: Increase contrast to make text stand out against backgrounds - **Artistic Effects**: Create dramatic high-contrast images for visual impact - **Weather Conditions**: Correct for fog or mist that reduces natural contrast ## Best Practices - Consider the purpose of your image when choosing a filter - Use filters consistently across related images for cohesive design - Consider combining filters with other effects like blur or sharpening for more complex visual styles - Test filtered images across different devices to ensure the effect works as expected - Filters are applied on-demand and may slightly increase processing time for very large images - When adjusting brightness, check for detail loss in highlights and shadows - Apply contrast adjustments after brightness changes for more control - For printable images, slightly higher contrast often produces better results - Consider the viewing environment — higher contrast for bright environments, lower for dim settings --------------------------------------------------------------------------- ## DOCUMENT: Image Fit Options FILENAME: fit.md CONTENT: # Image Fit Options When resizing images with both width and height parameters, the `fit` parameter controls how Skymage adapts the image to the new dimensions. Choosing the right fit mode is essential for achieving the desired visual result while maintaining image quality. ## Quick Reference | Fit Option | Description | Best For | |------------|-------------|----------| | `clip` | Maintains aspect ratio, clips excess | General purpose, when clipping is acceptable | | `cover` | Fills entire area, may crop edges | Featured images, backgrounds | | `contain` | Shows entire image with possible whitespace | Product images, logos | | `fill` | Stretches to fit exactly | UI elements where distortion is acceptable | | `scale-down` | Like `contain` but won't enlarge | Small icons or thumbnails | | `crop` | Fills area and crops with position control | Profile photos, featured content | ## Fit Options in Detail ### clip (default) Resizes the image to fill dimensions while maintaining aspect ratio, clipping any excess portions that don't fit. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=clip ``` ![Clip example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=clip) **When to use `clip`:** - You need consistent dimensions - Some image clipping is acceptable - You want to maintain the original aspect ratio - You're creating image grids or galleries ### cover Resizes the image to completely cover the requested dimensions while maintaining aspect ratio. This ensures the area is completely filled, potentially cropping some content at the edges. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=cover ``` ![Cover example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=cover) **When to use `cover`:** - Creating hero images or banners - Background images for cards or sections - Feature images where filling the entire space is critical - When you want to eliminate any potential whitespace ### contain Resizes the image to fit entirely within the specified dimensions while preserving aspect ratio. This may result in "letterboxing" with whitespace added to sides or top/bottom. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=contain ``` ![Contain example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=contain) **When to use `contain`:** - Product photography where showing the entire item is essential - Logos and icons that must be entirely visible - Educational or instructional images where all details matter - When maintaining the complete visual context is important ### fill Stretches or compresses the image to exactly match the specified dimensions, potentially distorting the image's aspect ratio. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=fill ``` ![Fill example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=fill) **When to use `fill`:** - Abstract textures or patterns - UI elements where precise dimensions are required - When the original aspect ratio isn't important - Special effects where distortion is intentional ### scale-down Behaves like `contain`, but only if the original image is larger than the specified dimensions. If the original is already smaller, it won't be enlarged. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=scale-down ``` ![Scale-down example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=scale-down) **When to use `scale-down`:** - User-uploaded content of varying sizes - When you want to avoid enlarging small images (which would reduce quality) - Icons or thumbnails that should retain their original dimensions if small - Image galleries with mixed content sizes ### crop Resizes the image to cover the dimensions and crops any excess. Unlike `cover`, this option allows you to control exactly which part of the image is preserved using the `p` parameter. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=crop ``` ![Crop example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=crop) With position control: ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=crop&p=top ``` ![Crop-top example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=crop&p=top) **When to use `crop`:** - Profile pictures where centering on a face is important - Product thumbnails where a specific part of the image is most relevant - Banner images where you need precise control over the focal point - Any scenario where controlling which part of the image remains visible is crucial For advanced cropping and positioning options, see the [📏 Image Cropping and Positioning](./crop.md) documentation. ## Visual Comparison Here's how different fit options appear when applied to the same image with the same dimensions: | Fit Option | Result | Description | |------------|--------|-------------| | `clip` | ![Clip](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=200&h=100&fit=clip) | Maintains aspect ratio, clips excess | | `cover` | ![Cover](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=200&h=100&fit=cover) | Fills dimensions, may crop edges | | `contain` | ![Contain](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=200&h=100&fit=contain) | Shows whole image, may add whitespace | | `fill` | ![Fill](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=200&h=100&fit=fill) | Stretches to exactly fit dimensions | ## Best Practices ### Choosing the Right Fit Option - **Consider your content type:** Product images typically benefit from `contain`, while hero banners work better with `cover` - **Think about aspect ratios:** If your source images have widely varying aspect ratios, `contain`, `cover`, or `crop` will give more consistent results than `fill` - **Consider device contexts:** For responsive designs, different fit modes might work better at different screen sizes - **Image subject matters:** For portraits or subjects with clear focal points, `crop` with positioning gives the most control ### Performance Considerations - `scale-down` can help reduce bandwidth by preventing unnecessary enlargement - Pre-determine your image dimensions to avoid client-side layout shifts - Consider generating multiple versions for different contexts using different fit parameters - Cache transformed images for improved loading times ### Common Pitfalls to Avoid - Using `fill` for photographs or faces (causes unnatural distortion) - Using `clip` when important content might get cut off - Using `contain` when consistent visual filling is needed (whitespace may be inconsistent) - Forgetting to specify the `p` parameter with `crop` when the default center position isn't ideal ## Example Use Cases ### E-commerce Product Gallery ``` https://demo.skymage.net/v1/daudau.cc/images/product.jpg?w=500&h=500&fit=contain ``` ### Social Media Profile Picture ``` https://demo.skymage.net/v1/daudau.cc/images/profile.jpg?w=200&h=200&fit=crop&p=face ``` ### Website Hero Banner ``` https://demo.skymage.net/v1/daudau.cc/images/banner.jpg?w=1600&h=600&fit=cover ``` ### Thumbnail Grid ``` https://demo.skymage.net/v1/daudau.cc/images/thumbnail.jpg?w=120&h=120&fit=clip ``` For additional control over image presentation, combine fit options with other transformations like [blur](./blur-and-sharpen.md), [filters](./filters.md), or [watermarks](./watermark.md). --------------------------------------------------------------------------- ## DOCUMENT: Image Orientation FILENAME: flip.md CONTENT: # Image Orientation Skymage allows you to control image orientation using the `flip` parameter. This powerful feature lets you mirror images horizontally, vertically, or both, making it easy to create reflected versions of your original images. ## Basic Usage To flip an image, add the `flip` parameter to your image URL: ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=h ``` ![Horizontally flipped image](https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=h) ## Flip Options The `flip` parameter accepts the following values: | Value | Description | |-------|-------------| | `h` | Horizontal flip (mirror across vertical axis) | | `v` | Vertical flip (mirror across horizontal axis) | | `hv` or `vh` | Both horizontal and vertical flip (180° rotation) | ### Horizontal Flip (`h`) Mirrors the image from left to right. This is like seeing the image in a mirror placed to the side. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=h ``` ![Horizontal flip example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=h) ### Vertical Flip (`v`) Mirrors the image from top to bottom. This is like seeing the image in a mirror placed above or below. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=v ``` ![Vertical flip example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=v) ### Both Horizontal and Vertical Flip (`hv` or `vh`) Mirrors the image both horizontally and vertically. This is equivalent to rotating the image 180 degrees. ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=hv ``` ![Both horizontal and vertical flip example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=hv) ## Combining with Other Parameters The flip parameter can be combined with other transformations for more complex effects: **Flip with Resize:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&flip=h ``` ![Flip with resize](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&flip=h) **Flip with Crop:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=crop&flip=v ``` ![Flip with crop](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200&fit=crop&flip=v) **Flip with Effects:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=h&blur=3 ``` ![Flip with blur](https://demo.skymage.net/v1/daudau.cc/images/crab.png?flip=h&blur=3) ## Common Use Cases - **Mirror images** for creative or artistic effect - **Correct improperly oriented images** uploaded by users - **Create reflection effects** for product showcases - **Standardize image orientation** across a collection - **Generate symmetrical patterns** from asymmetrical source images --------------------------------------------------------------------------- ## DOCUMENT: Skymage Documentation FILENAME: index.md CONTENT: # Skymage Documentation Skymage is a powerful image transformation service that allows you to resize, crop, optimize, and apply effects to your images on-the-fly using simple URL parameters. ## Getting Started Skymage provides a straightforward way to transform images through URL parameters. This approach eliminates the need for server-side image processing code, making your applications lighter and more efficient. ### Basic Concept The basic pattern for a Skymage URL is: ``` https://[your-handle].skymage.net/v1/[your-domain]/images/[image-path]?[transformations] ``` For example: ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=300&h=200&fit=cover ``` This URL will fetch the image at `sample.jpg`, resize it to 300×200 pixels using the "cover" fit mode. ### Key Features - **On-the-fly transformations**: No pre-processing needed - **Simple URL API**: Control image transformations with URL parameters - **Highly optimized**: Delivers optimized images for faster loading times - **Multiple formats**: Support for JPEG, PNG, WebP, AVIF and more - **CDN integration**: Works seamlessly with CDNs for global distribution - **Secure**: Protect your images with signed URLs ## Core Transformation Options Skymage offers various transformation options to modify your images: ### Dimensions and Sizing - **Width & Height**: Specify dimensions with `w` and `h` parameters ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=400&h=300 ``` - **Fit Modes**: Control how images fit within dimensions with `fit` parameter ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=400&h=300&fit=contain ``` - **Cropping**: Focus on specific areas with `crop` and `p` parameters ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=400&h=300&fit=crop&p=face ``` ### Visual Effects - **Filters**: Apply predefined filters with `filt` parameter ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?filt=grayscale ``` - **Blur**: Add blur effect with `blur` parameter ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?blur=10 ``` - **Sharpen**: Enhance image details with `sharpen` parameter ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?sharpen=10 ``` ### Quality - **Quality**: Control compression with `q` parameter ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?q=80 ``` ## Integration Examples Skymage can be integrated into various web platforms: ### HTML Integration ```html Sample Image ``` ### CSS Background ```css .hero { background-image: url('https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=1200&h=600&fit=cover'); } ``` ### JavaScript Dynamic Sizing ```javascript const width = window.innerWidth > 800 ? 1200 : 600; const imageUrl = `https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=${width}`; document.getElementById('hero-img').src = imageUrl; ``` --------------------------------------------------------------------------- ## DOCUMENT: Markdown Extension Examples FILENAME: markdown-examples.md CONTENT: # Markdown Extension Examples This page demonstrates some of the built-in markdown extensions provided by VitePress. ## Syntax Highlighting VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting: **Input** ````md ```js{4} export default { data () { return { msg: 'Highlighted!' } } } ``` ```` **Output** ```js{4} export default { data () { return { msg: 'Highlighted!' } } } ``` ## Custom Containers **Input** ```md ::: info This is an info box. ::: ::: tip This is a tip. ::: ::: warning This is a warning. ::: ::: danger This is a dangerous warning. ::: ::: details This is a details block. ::: ``` **Output** ::: info This is an info box. ::: ::: tip This is a tip. ::: ::: warning This is a warning. ::: ::: danger This is a dangerous warning. ::: ::: details This is a details block. ::: ## More Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown). --------------------------------------------------------------------------- ## DOCUMENT: Image Resizing FILENAME: resizing.md CONTENT: # Image Resizing Skymage offers powerful resizing capabilities that allow you to dynamically adjust image dimensions while preserving quality. ## Basic Resizing Parameters ### Width `w` Set the width of the image in pixels. The height will adjust automatically to maintain the aspect ratio. **Example:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300 ``` ![Width example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300) ### Height `h` Set the height of the image in pixels. The width will adjust automatically to maintain the aspect ratio. **Example:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?h=200 ``` ![Height example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?h=200) ### Width and Height `w` & `h` When specifying both dimensions, you should always include a `fit` parameter to control how the image should be resized. Without a `fit` parameter, the default behavior is `fit=clip`. **Example:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200 ``` ![Width and height example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&h=200) For detailed information about fit modes and positioning, see the [Fit and Positioning Guide](./fit.md). ## Device Pixel Ratio `dpr` The `dpr` parameter allows you to account for high-density displays (like Retina displays) by automatically adjusting the image size to match the device's pixel ratio. **Example:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&dpr=2 ``` ![DPR example](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=300&dpr=2) This will generate an image with an actual width of 600 pixels (300 × 2), but it will be displayed at 300 CSS pixels, resulting in a sharper image on high-density displays. ### Common DPR Values | Device Type | Typical DPR Value | |-------------|------------------| | Standard displays | 1 (default) | | Retina displays | 2 | | High-end mobile devices | 2 or 3 | | Latest iPhone Pro models | 3 | ## Responsive Images For responsive web design, you can create multiple sizes of the same image: ```html Responsive crab image ``` ### Combining DPR with Responsive Images For the best results, you can combine the `dpr` parameter with responsive images: ```html Responsive crab image with DPR support ``` ## Performance Tips - Specify only the dimensions you need to save bandwidth - Use WebP format (`f=webp`) together with resizing for optimal performance - Specify an appropriate `dpr` value to provide the optimal resolution for each device --------------------------------------------------------------------------- ## DOCUMENT: Using Skymage FILENAME: usage.md CONTENT: # Using Skymage This guide explains how to use Skymage to transform your images on the fly. Skymage provides a simple URL-based API that you can use to modify images without having to process them locally. ## Basic Usage The basic pattern for a Skymage URL is: ``` https://[your-domain]/v1/[tenant]/images/[image-path]?[transformations] ``` Where: - `[your-domain]` is your Skymage instance domain - `[tenant]` is your tenant identifier - `[image-path]` is the path to your image - `[transformations]` are the transformations you want to apply For example: ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=300&h=200&fit=cover ``` This URL will fetch the image at `sample.jpg`, resize it to 300×200 pixels using the "cover" fit mode. ## URL Structure ### Base URL The base URL format is: ``` https://[your-domain]/v1/[tenant]/images/ ``` ### Image Path After the base URL, specify the path to your image: ``` https://demo.skymage.net/v1/daudau.cc/images/folder/sample.jpg ``` ### Transformation Parameters Add a question mark `?` after the image path, followed by your transformation parameters: ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=500&h=300 ``` Multiple parameters are separated by ampersands (`&`): ``` https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=500&h=300&fit=cover&blur=5 ``` ## Using with HTML Here's how to use Skymage URLs in your HTML: ```html My Image ``` ### Responsive Images For responsive websites, you can use the `srcset` attribute: ```html Responsive Image ``` ## Using with CSS You can also use Skymage URLs in your CSS: ```css .hero-section { background-image: url('https://demo.skymage.net/v1/daudau.cc/images/background.jpg?w=1600&fit=cover&q=80'); background-size: cover; background-position: center; } @media (max-width: 768px) { .hero-section { background-image: url('https://demo.skymage.net/v1/daudau.cc/images/background.jpg?w=800&fit=cover&q=80'); } } ``` ## Using with JavaScript ### Basic JavaScript ```javascript const imgElement = document.createElement('img'); imgElement.src = 'https://demo.skymage.net/v1/daudau.cc/images/product.jpg?w=300&h=300&fit=contain'; document.body.appendChild(imgElement); ``` ### Dynamic Parameters You can build URLs dynamically based on user actions or screen size: ```javascript function generateImageUrl(width, height, filter) { const baseUrl = 'https://demo.skymage.net/v1/daudau.cc/images/sample.jpg'; return `${baseUrl}?w=${width}&h=${height}&filt=${filter}`; } // Generate different versions based on needs const thumbnailUrl = generateImageUrl(100, 100, 'none'); const featuredUrl = generateImageUrl(800, 600, 'sharpen'); const profileUrl = generateImageUrl(200, 200, 'sepia'); ``` ## Client Libraries ### PHP Library Install the library: ```bash composer require daudau/skymage ``` Basic usage: ```php image('sample.jpg') ->resize(800, 600) ->filter('sepia') ->blur(5) ->quality(80) ->getUrl(); echo $url; // Outputs: https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=800&h=600&filt=sepia&blur=5&q=80 ``` Advanced usage with more transformations: ```php $url = $skymage->image('profile.jpg') ->resize(400, 400) ->crop('face') ->filter('sharpen') ->watermark('logo.png', [ 'position' => 'bottom-right', 'opacity' => 50 ]) ->getUrl(); ``` ### JavaScript Library Install the library: ```bash npm install skymage ``` Basic usage: ```javascript import Skymage from 'skymage'; const skymage = new Skymage('your-api-key'); // Build an image URL with transformations const url = skymage.image('sample.jpg') .resize(800, 600) .filter('sepia') .blur(5) .quality(80) .getUrl(); console.log(url); // Outputs: https://demo.skymage.net/v1/daudau.cc/images/sample.jpg?w=800&h=600&filt=sepia&blur=5&q=80 ``` Vue.js component example: ```javascript ``` ## URL Parameters Reference Here's a quick reference of the most common parameters: | Parameter | Description | Example | |-----------|-------------|---------| | `w` | Width in pixels | `w=300` | | `h` | Height in pixels | `h=200` | | `fit` | Fit mode (clip, cover, contain, fill, scale-down) | `fit=cover` | | `q` | Quality (1-100) | `q=80` | | `blur` | Blur amount | `blur=10` | | `sharpen` | Sharpen amount | `sharpen=10` | | `filt` | Filter to apply | `filt=sepia` | | `flip` | Flip direction (h, v, hv) | `flip=h` | | `p` | Position for crop | `p=face` or `p=top` | For a complete list of all available parameters and options, please refer to our [Transformations Documentation](./index.md). ## Common Recipes ### E-commerce Product Image ``` https://demo.skymage.net/v1/daudau.cc/images/product.jpg?w=600&h=600&fit=contain&bg=white ``` ### Social Media Profile Picture ``` https://demo.skymage.net/v1/daudau.cc/images/profile.jpg?w=200&h=200&fit=crop&p=face ``` ### Hero Banner ``` https://demo.skymage.net/v1/daudau.cc/images/banner.jpg?w=1600&h=600&fit=cover&q=85 ``` ### Thumbnail with Effect ``` https://demo.skymage.net/v1/daudau.cc/images/thumbnail.jpg?w=150&h=150&fit=crop&filt=grayscale ``` ## Best Practices 1. **Use appropriate dimensions**: Don't load larger images than necessary 2. **Set quality parameters**: Use `q=80` or similar for most web images to save bandwidth 3. **Use responsive images**: Serve different sizes for different devices 4. **Choose appropriate fit modes**: Different content looks better with different fit modes 5. **Cache your images**: Set appropriate caching headers or use a CDN 6. **Use descriptive ALT text**: Always include meaningful alt text for accessibility ## Next Steps Now that you understand the basics of using Skymage, explore specific transformations: - [Resizing Images](./resizing.md) - [Image Fit Options](./fit.md) - [Cropping Images](./crop.md) - [Applying Filters](./filters.md) - [Adding Watermarks](./watermark.md) --------------------------------------------------------------------------- ## DOCUMENT: Watermark FILENAME: watermark.md CONTENT: # Watermark Skymage allows you to add text watermarks to your images using the `watermark` parameter. This feature is useful for branding, copyright protection, or adding credits to your images. ## Basic Usage To add a text watermark to an image, use the `watermark` parameter with your desired text: ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?watermark=Copyright ``` ![Image with watermark](https://demo.skymage.net/v1/daudau.cc/images/crab.png?watermark=Copyright) ## Watermark Behavior When applying a watermark to your image: - The watermark is placed in the bottom-right corner of the image - The text size automatically scales relative to the image height (approximately 1/35 of the image height) - A small margin is maintained from the edges (approximately 1/50 of the image height) - The watermark maintains legibility across different image sizes ## Advanced Usage ### Multi-word Watermarks You can include spaces and multiple words in your watermark: ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?watermark=© Skymage 2023 ``` ![Image with multi-word watermark](https://demo.skymage.net/v1/daudau.cc/images/crab.png?watermark=©%20Skymage%202023) Remember to properly URL-encode spaces and special characters: ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?watermark=%C2%A9%20Skymage%202023 ``` ### Combining with Other Transformations Watermarks can be combined with any other image transformation: **Watermark with Resizing:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=400&watermark=Resized ``` ![Watermark with resize](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=400&watermark=Resized) **Watermark with Cropping:** ``` https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=500&h=300&fit=crop&watermark=Cropped ``` ![Watermark with crop](https://demo.skymage.net/v1/daudau.cc/images/crab.png?w=500&h=300&fit=crop&watermark=Cropped) ## Automatic Domain Watermarking Skymage offers an automatic domain watermarking feature that can be enabled through the Dashboard settings. When activated, this feature will automatically add the domain of the original image as a watermark. ### Enabling Domain Watermarking 1. Log in to your Skymage Dashboard 2. Navigate to the Settings section 3. Find the "Domain Watermark" option and enable it Once enabled, all images served through your Skymage account will automatically include the source domain as a watermark in the bottom-right corner. ### Example Original image URL: `https://example.com/images/photo.jpg` When accessing through Skymage with domain watermarking enabled: ``` https://demo.skymage.net/v1/example.com/images/photo.jpg?w=400 ``` The image will be served with "example.com" automatically watermarked in the corner. ### Benefits of Domain Watermarking - **Attribution**: Automatically credits the source of images - **Tracking**: Easily identify the original source of an image - **Branding**: Reinforce domain recognition across shared images - **Consistency**: Apply uniform watermarking across all images without manual parameter setting ### Combining Manual and Automatic Watermarks When domain watermarking is enabled in the Dashboard, any manual `watermark` parameter in the URL will take precedence and replace the automatic domain watermark. ## Common Use Cases - **Copyright Protection**: Add copyright notices to prevent unauthorized use - **Branding**: Include your company or website name on images - **Photography Credits**: Add photographer name or credits - **Social Media Attribution**: Ensure your content is credited when shared - **Version Marking**: Identify different versions or uses of the same image ## Best Practices - Keep watermark text concise for better readability - Consider image content when adding watermarks - avoid covering important areas - For better performance, reuse the same watermark text when processing multiple images - Use URL encoding for special characters and spaces in watermark text - Remember that watermarks are permanently applied to the delivered image --------------------------------------------------------------------------- # SKYMAGE BLOG POSTS ## BLOG POST: Using Responsive Images for Better Web Performance DESCRIPTION: Discover how implementing responsive images can significantly improve your website's loading times, user experience, and SEO rankings across different devices and network conditions. FEATURED IMAGE: https://images.unsplash.com/photo-1558655146-d09347e92766 SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1558655146-d09347e92766 PUBLISHED: 2025-03-15 URL: https://skymage.daudau.cc/blog/using-responsive-images-for-better-web-performance --------------------------------------------------------------------------- ## BLOG POST: How I Built Skymage to Escape the Pixel Nightmare: A Developer's Journey DESCRIPTION: Discover how Skymage was created to solve real-world image optimization challenges that were slowing down websites and hurting SEO rankings. Learn practical solutions for image-heavy sites on a budget. FEATURED IMAGE: https://images.unsplash.com/photo-1454165804606-c3d57bc86b40 SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1454165804606-c3d57bc86b40 PUBLISHED: 2025-04-01 URL: https://skymage.daudau.cc/blog/how-i-built-skymage-to-escape-the-pixel-nightmare --------------------------------------------------------------------------- ## BLOG POST: How to Optimize Images with a CDN - A Developer's Guide to Faster Websites DESCRIPTION: Learn how Content Delivery Networks can dramatically improve your website's performance by optimizing image delivery, resizing, compressing, and serving next-gen formats like WebP. FEATURED IMAGE: https://images.unsplash.com/photo-1517292987719-0369a794ec0f SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1517292987719-0369a794ec0f PUBLISHED: 2025-04-01 URL: https://skymage.daudau.cc/blog/how-to-optimize-images-with-cdn --------------------------------------------------------------------------- ## BLOG POST: Choosing the Right CDN for Your Images - A Developer's Guide DESCRIPTION: Selecting the best Content Delivery Network (CDN) for your image optimization needs involves considering factors like pricing, features, performance, and ease of integration. Find the perfect image CDN like Skymage for your website. FEATURED IMAGE: https://images.unsplash.com/photo-1558494949-ef010cbdcc31 SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1558494949-ef010cbdcc31 PUBLISHED: 2025-04-02 URL: https://skymage.daudau.cc/blog/choosing-the-right-cdn-for-your-images --------------------------------------------------------------------------- ## BLOG POST: The True Cost of Slow-Loading Images: How Optimization Impacts Your Bottom Line DESCRIPTION: Discover how image loading speed directly affects conversion rates, user engagement, and revenue - and why modern image optimization is no longer optional for businesses online. FEATURED IMAGE: https://images.unsplash.com/photo-1460925895917-afdab827c52f SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1460925895917-afdab827c52f PUBLISHED: 2025-04-03 URL: https://skymage.daudau.cc/blog/the-true-cost-of-slow-loading-images-how-optimization-impacts-your-bottom-line --------------------------------------------------------------------------- ## BLOG POST: Image Optimization Strategies for Modern Web Applications DESCRIPTION: Discover effective image optimization techniques to dramatically improve web performance, reduce bandwidth consumption, and enhance user experience in modern web applications. FEATURED IMAGE: https://images.unsplash.com/photo-1603468620905-8de7d86b781e SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1603468620905-8de7d86b781e PUBLISHED: 2025-04-05 URL: https://skymage.daudau.cc/blog/image-optimization-strategies-for-modern-web-apps --------------------------------------------------------------------------- ## BLOG POST: Why AVIF is the Future of Web Images: Better Compression, Higher Quality DESCRIPTION: Discover how the next-generation AVIF image format delivers superior compression and visual quality compared to JPEG, PNG, and even WebP, and learn how to implement it in your web projects today. FEATURED IMAGE: https://images.unsplash.com/photo-1620641788421-7a1c342ea42e SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1620641788421-7a1c342ea42e PUBLISHED: 2025-04-05 URL: https://skymage.daudau.cc/blog/why-avif-is-the-future-of-web-images --------------------------------------------------------------------------- ## BLOG POST: Mastering WebP: The Image Format That Changed the Web Performance Game DESCRIPTION: Learn how WebP delivers 25-34% smaller images than JPEG with transparency support, improving page speed and SEO rankings. Discover practical implementation strategies for all browsers. FEATURED IMAGE: https://images.unsplash.com/photo-1558655146-9f40138edfeb SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1558655146-9f40138edfeb PUBLISHED: 2025-04-06 URL: https://skymage.daudau.cc/blog/mastering-webp-the-image-format-that-changed-the-web --------------------------------------------------------------------------- ## BLOG POST: Lazy Loading Done Right: Boost Performance Without Sacrificing UX DESCRIPTION: Learn how to implement lazy loading for images effectively to improve page speed while maintaining a seamless user experience with Skymage's optimization techniques. FEATURED IMAGE: https://images.pexels.com/photos/1181271/pexels-photo-1181271.jpeg SKYMAGE IMAGE: https://demo.skymage/net/v1/images.pexels.com/photos/1181271/pexels-photo-1181271.jpeg PUBLISHED: 2025-04-07 URL: https://skymage.daudau.cc/blog/lazy-loading-done-right-boost-performance-without-sacrificing-ux --------------------------------------------------------------------------- ## BLOG POST: The Art of Responsive Images: Advanced srcset Techniques DESCRIPTION: Master the implementation of responsive images with srcset and sizes to deliver the perfect image for every device, screen size, and network condition. FEATURED IMAGE: https://images.pexels.com/photos/5926382/pexels-photo-5926382.jpeg SKYMAGE IMAGE: https://demo.skymage/net/v1/images.pexels.com/photos/5926382/pexels-photo-5926382.jpeg PUBLISHED: 2025-04-09 URL: https://skymage.daudau.cc/blog/the-art-of-responsive-images-advanced-srcset-techniques --------------------------------------------------------------------------- ## BLOG POST: E-commerce Image Optimization Strategies That Boost Conversion Rates DESCRIPTION: Discover how optimized product images can increase e-commerce conversion rates by up to 35%. Learn specific techniques for product photography, zoom functionality, and mobile optimization. FEATURED IMAGE: https://images.pexels.com/photos/298863/pexels-photo-298863.jpeg SKYMAGE IMAGE: https://demo.skymage/net/v1/images.pexels.com/photos/298863/pexels-photo-298863.jpeg PUBLISHED: 2025-04-11 URL: https://skymage.daudau.cc/blog/ecommerce-image-optimization-strategies-that-boost-conversion-rates --------------------------------------------------------------------------- ## BLOG POST: How Image Optimization Reduces Server Costs and Scales Your Infrastructure DESCRIPTION: Learn how implementing proper image optimization can cut your hosting costs by up to 70% while improving site performance. Discover strategies to reduce bandwidth usage, server load, and scaling requirements. FEATURED IMAGE: https://images.unsplash.com/photo-1563986768609-322da13575f3 SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1563986768609-322da13575f3 PUBLISHED: 2025-04-12 URL: https://skymage.daudau.cc/blog/how-image-optimization-reduces-server-costs-and-scales-your-infrastructure --------------------------------------------------------------------------- ## BLOG POST: Auditing Your Image Strategy: Tools and Techniques for Web Performance DESCRIPTION: Learn how to effectively audit your website's image performance to identify optimization opportunities and measure the impact of your image strategy. FEATURED IMAGE: https://images.unsplash.com/photo-1551288049-bebda4e38f71 SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1551288049-bebda4e38f71 PUBLISHED: 2025-04-13 URL: https://skymage.daudau.cc/blog/auditing-your-image-strategy-tools-and-techniques-for-web-performance --------------------------------------------------------------------------- ## BLOG POST: The Impact of Image Optimization on Website Conversion Rates DESCRIPTION: Discover how effective image optimization strategies can significantly boost your website's conversion rates, with real-world case studies and actionable implementation tips. FEATURED IMAGE: https://images.unsplash.com/photo-1551288049-bebda4e38f71 SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1551288049-bebda4e38f71 PUBLISHED: 2025-04-13 URL: https://skymage.daudau.cc/blog/the-impact-of-image-optimization-on-website-conversion-rates --------------------------------------------------------------------------- ## BLOG POST: Ultimate Guide to Image Caching Strategies for Modern Web Apps DESCRIPTION: Learn how to implement effective caching strategies for images to dramatically improve repeat visits, reduce server load, and enhance the user experience. FEATURED IMAGE: https://images.pexels.com/photos/2882566/pexels-photo-2882566.jpeg SKYMAGE IMAGE: https://demo.skymage/net/v1/images.pexels.com/photos/2882566/pexels-photo-2882566.jpeg PUBLISHED: 2025-04-14 URL: https://skymage.daudau.cc/blog/ultimate-guide-to-image-caching-strategies-for-modern-web-apps --------------------------------------------------------------------------- ## BLOG POST: Building the Ultimate Automated Image Optimization Workflow DESCRIPTION: Learn how to create a seamless automated workflow for image optimization that improves performance while reducing developer workload using Skymage. FEATURED IMAGE: https://images.pexels.com/photos/574071/pexels-photo-574071.jpeg SKYMAGE IMAGE: https://demo.skymage/net/v1/images.pexels.com/photos/574071/pexels-photo-574071.jpeg PUBLISHED: 2025-04-15 URL: https://skymage.daudau.cc/blog/building-the-ultimate-automated-image-optimization-workflow --------------------------------------------------------------------------- ## BLOG POST: Mobile-First Image Optimization Strategies for Lightning-Fast Websites DESCRIPTION: Learn how to implement mobile-first image optimization techniques that can reduce page load times by up to 68% and boost mobile conversion rates. Discover practical strategies for responsive images, lazy loading, and Core Web Vitals improvement. FEATURED IMAGE: https://images.unsplash.com/photo-1551650975-87deedd944c3 SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1551650975-87deedd944c3 PUBLISHED: 2025-04-16 URL: https://skymage.daudau.cc/blog/mobile-first-image-optimization-strategies-for-lightning-fast-websites --------------------------------------------------------------------------- ## BLOG POST: How Image Optimization Directly Impacts Core Web Vitals and SEO Rankings DESCRIPTION: Learn how properly optimized images can improve your Core Web Vitals scores by up to 47%, boosting search rankings and increasing organic traffic through better user experience signals. FEATURED IMAGE: https://images.pexels.com/photos/265087/pexels-photo-265087.jpeg SKYMAGE IMAGE: https://demo.skymage/net/v1/images.pexels.com/photos/265087/pexels-photo-265087.jpeg PUBLISHED: 2025-04-17 URL: https://skymage.daudau.cc/blog/how-image-optimization-directly-impacts-core-web-vitals-and-seo --------------------------------------------------------------------------- ## BLOG POST: The Science of Image Compression: Finding the Perfect Quality-Size Balance DESCRIPTION: Master the technical aspects of image compression and learn how to find the optimal quality settings that balance visual fidelity with file size. FEATURED IMAGE: https://images.unsplash.com/photo-1497091071254-cc9b2ba7c48a SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1497091071254-cc9b2ba7c48a PUBLISHED: 2025-04-19 URL: https://skymage.daudau.cc/blog/the-science-of-image-compression-finding-the-perfect-quality-size-balance --------------------------------------------------------------------------- ## BLOG POST: Advanced Image Transformations: Beyond Basic Optimization DESCRIPTION: Explore cutting-edge image transformation techniques including content-aware cropping, dynamic art direction, and AI-powered image enhancements with Skymage. FEATURED IMAGE: https://images.pexels.com/photos/270348/pexels-photo-270348.jpeg SKYMAGE IMAGE: https://demo.skymage/net/v1/images.pexels.com/photos/270348/pexels-photo-270348.jpeg PUBLISHED: 2025-04-21 URL: https://skymage.daudau.cc/blog/advanced-image-transformations-beyond-basic-optimization --------------------------------------------------------------------------- ## BLOG POST: The Future of Image Optimization: What's Coming in 2026 and Beyond DESCRIPTION: Explore emerging technologies that will shape the future of image optimization, from next-generation compression formats to revolutionary delivery protocols. FEATURED IMAGE: https://images.unsplash.com/photo-1517976487492-5750f3195933 SKYMAGE IMAGE: https://demo.skymage/net/v1/images.unsplash.com/photo-1517976487492-5750f3195933 PUBLISHED: 2025-04-23 URL: https://skymage.daudau.cc/blog/the-future-of-image-optimization-whats-coming-in-2026-and-beyond ---------------------------------------------------------------------------