Our Mission: To Make Your Journey as Smooth as Possible
Revolutionary tools should be accessible to everyone. We've designed Anti Swiper Rubik to be intuitive despite its advanced multi-directional capabilities. Every step is documented, every example demonstrates the dynamic movement patterns, and every question is welcome. Your creative vision is our priority, and we're here to help you bring content to life in all directions.
— AS RUBIK TEAM
Complete Implementation Guide
Follow these 5 steps to implement Anti Swiper Rubik, even if you're new to HTML:
1Prepare & Upload Your Media
For Images (All Plans)
- Format: JPG, PNG, WebP
- Standard Plan: Up to 1920x1080px, under 500KB each
- Pro & Enterprise: Higher limits available
- Filename: Use simple names (e.g., `image-01.jpg`)
For Videos (Pro & Enterprise Plans)
- Format: MP4 (H.264 codec)
- Pro Plan: Under 5MB each
- Enterprise Plan: Higher limits & 4K support
- ⚠️ Avoid videos exported from Wondershare products
Upload your prepared files to your web server using an FTP client like WinSCP.
2Create Your HTML File
For Complete Beginners:
- Open Notepad (Windows) or TextEdit (Mac)
- Copy and paste the complete template below
- Save as "carousel.html" (make sure to change file type to "All Files")
Complete HTML Template:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Carousel</title>
<style>
.anti-swiper-container {
width: 100%;
max-width: 800px;
height: 400px;
margin: 0 auto;
position: relative;
overflow: hidden;
border-radius: 10px;
}
/* Responsive design */
@media (max-width: 768px) {
.anti-swiper-container {
height: 250px;
}
}
</style>
</head>
<body>
<h1>My Image Carousel</h1>
<div class="anti-swiper-container">
<div class="anti-swiper-track">
<!-- Slides will be generated automatically -->
</div>
</div>
<script src="https://www.anti-swiper-rubik.com/saas-backend/cdn-server.php?key=YOUR_API_KEY_HERE"></script>
<script>
window.addEventListener('load', function() {
requestAnimationFrame(function() {
if (typeof AntiSwiperRubik !== 'undefined') {
new AntiSwiperRubik('.anti-swiper-container', {
images: [
'images/image1.jpg',
'images/image2.jpg',
'images/image3.jpg'
// Add more images here
],
shuffle: true // NEW: Set to false to display images in original order
});
} else {
console.error('AntiSwiperRubik library not loaded. Check API key.');
}
});
});
</script>
</body>
</html>
3Customize Your Settings
Replace YOUR_API_KEY_HERE:
Find this line in your HTML:
<script src="https://www.anti-swiper-rubik.com/saas-backend/cdn-server.php?key=YOUR_API_KEY_HERE">
Replace YOUR_API_KEY_HERE
with your actual API key from your purchase confirmation.
Update Image Paths:
In the images
array, replace the example paths with your actual image file paths:
images: [
'path/to/your/image1.jpg',
'path/to/your/image2.jpg',
'path/to/your/image3.jpg'
]
Adjust Size (Optional):
To change the carousel size, modify these CSS values:
.anti-swiper-container {
max-width: 800px; /* Change width */
height: 400px; /* Change height */
}
4Configuration Options
Standard Plan Options:
- images: Array of image URLs (up to 10 images)
- shuffle: NEW FEATURE! Randomize slide order (true/false)
Pro Plan Options:
- mediaItems: Array of media objects with type and src
- displayCount: Number of items to display (default: 10)
- random: NEW FEATURE! Enable random selection from media pool (true/false)
Example with Videos (Pro Plan):
// The Pro plan initialization
window.addEventListener('load', function() {
requestAnimationFrame(function() {
if (typeof AntiSwiperRubikPro !== 'undefined') {
new AntiSwiperRubikPro('.anti-swiper-container', {
displayCount: 10,
random: true, // NEW: Set to false to disable random selection
mediaItems: [
{ type: 'image', src: 'images/photo1.jpg' },
{ type: 'video', src: 'videos/video1.mp4' },
{ type: 'image', src: 'images/photo2.jpg' },
{ type: 'video', src: 'videos/video2.mp4' }
// Add up to 20 items total (10 images + 10 videos)
]
});
} else {
console.error('AntiSwiperRubikPro library not loaded. Check API key.');
}
});
});
🆕 NEW FEATURE: Random/Shuffle Control
Standard Plan: Use shuffle: true/false
to control image order randomization.
Pro Plan: Use random: true/false
to enable/disable random selection from your media pool.
Benefits: Perfect for creating consistent presentations or completely randomized experiences!
5Test and Deploy
Testing:
- Upload your HTML file and media files to your web server
- Access your file via browser (https://yoursite.com/carousel.html)
- ⚠️ Remember: Testing must be done online, not locally
Recommended Test Setup:
- Create a /test/ folder on your server
- Upload files there first
- Test thoroughly before moving to your main site
- Add to robots.txt to prevent search engine indexing:
User-agent: *
Disallow: /test/
Advanced CSS Customization
Responsive Design Examples:
/* Desktop */
.anti-swiper-container {
max-width: 1200px;
height: 600px;
}
/* Tablet */
@media (max-width: 1024px) {
.anti-swiper-container {
max-width: 800px;
height: 400px;
}
}
/* Mobile */
@media (max-width: 768px) {
.anti-swiper-container {
max-width: 100%;
height: 250px;
margin: 10px;
}
}
Custom Styling:
/* Add border and shadow */
.anti-swiper-container {
border: 2px solid #ddd;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
border-radius: 15px;
}
/* Center on page */
.anti-swiper-container {
margin: 20px auto;
display: block;
}
Troubleshooting
Common Issues:
- Carousel not showing: Check if your API key is correct and image paths are valid
- Images not loading: Verify file paths and ensure images are uploaded to server
- Videos not playing: Check if videos are web-compatible (avoid Wondershare exports)
- Not working locally: Anti-Swiper requires online environment - upload to server
- API key error: Ensure your subscription is active and key is correctly copied
File Upload Help:
If you're new to uploading files to a web server:
Option 1: Use your hosting provider's file manager (Recommended)
- Log into your hosting control panel (cPanel, Plesk, etc.)
- Find "File Manager" or "Files" section
- Navigate to your website's public folder (usually public_html)
- Upload your HTML file and media folder directly
Option 2: Use a safe FTP client
- Download WinSCP (Windows) or Cyberduck (Mac/Windows)
- Get FTP credentials from your web hosting provider
- Connect to your server using the FTP client
- Upload your HTML file and media folder to your website directory
Why These Steps Are Necessary:
- API Key: Authenticates your subscription and enables the service
- Online Environment: Anti Swiper Rubik connects to our CDN servers for security and updates
- Proper File Paths: Browser needs exact locations to load your media files
- Web-Compatible Videos: Ensures smooth playback across all devices and browsers
Quick Start (For Experienced Users)
1. Include Anti Swiper Rubik
<script src="https://www.anti-swiper-rubik.com/saas-backend/cdn-server.php?key=YOUR_API_KEY"></script>
2. Basic HTML Structure
<div class="anti-swiper-container">
<div class="anti-swiper-track">
<!-- Slides generated automatically -->
</div>
</div>
3. Initialize
window.addEventListener('load', function() {
requestAnimationFrame(function() {
if (typeof AntiSwiperRubik !== 'undefined') {
new AntiSwiperRubik('.anti-swiper-container', {
images: ['image1.jpg', 'image2.jpg', 'image3.jpg'],
shuffle: true // NEW: Control randomization
});
}
});
});
Plan Differences
Standard Plan ($9.99/month):
- Up to 10 images maximum
- Image formats: JPG, PNG, WebP
- File size: 500KB max per image
- Resolution: HD 1920x1080 maximum
- Email support (48h response)
Pro Plan ($19.99/month):
- Image pool: 10 images + Video pool: 10 videos
- Random selection: 10 items per session from pools
- Mixed image/video carousels
- HD video support (5MB max)
- Priority support (24h response)
Need More Help?
Check out our Support page for FAQ and contact information.
Pro Plan subscribers get priority support - contact us directly for faster assistance.